Author |
Message |
Guest
|
Posted: Mon Oct 29, 2007 11:52 pm Post subject: Showing the command prompt whilst executing a batch script |
|
|
Hi
I have recently set up a local batch script which runs after execution. It is for a data backup; it will zip up the contents of the target folders using a command line zip program then will execute a command to burn the zip file to DVD. I am using Nero 7's nerocmd command to burn the DVD, and occasionally this might ask for user input, such as the disc does not have enough space, enter new disc etc. The problem is that I can't get VV 2 to open the batch file in a command prompt window, it runs the batch in the background, and thus I can't see and respond to any user input messages. In this example, the whole batch could just come to a grinding halt without me having any idea why - I would have to terminate the appropriate processes and guess what happened. Is it possible in VV to show the command prompt and allow user input as part of the batch processing? |
|
Back to top |
|
|
dcohn
Joined: 29 Oct 2007 Posts: 2
|
Posted: Tue Oct 30, 2007 9:00 am Post subject: |
|
|
Is VV running as a service
Have you tried adding Cmd /k in front of the batch file as in
cmd /k batch.cmd
Let me know what happens. If no ne from TG responds I will test it shortly anyway. |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8759
|
Posted: Tue Oct 30, 2007 11:10 am Post subject: |
|
|
Hello
VV runs all scripts silently without user input.... in the next release we are thinking to add an option to allow user input for batch scripts.
thanks _________________ --
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com |
|
Back to top |
|
|
Guest
|
Posted: Wed Oct 31, 2007 12:59 pm Post subject: |
|
|
Thanks folks, that's helpful.
I can now get a command window - not quite as suggested, but it works if I use the start command, for example:
start "batch title" cmd /k batchname.bat
Also can add /w to wait for burning to finish and close window, then first batch can continue.
It would be good to have the option for user input in batches in the next version of VV! |
|
Back to top |
|
|
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 8759
|
|
Back to top |
|
|
|