Hey Guys/Gals
Ok.. I'm writing a basic script which should not be too hard but I'
getting crippled by the old "start /wait ...." command which does no
appear to work in Vista (not fully anyway)
So I'm attempting to start several virtual machines which in turn run
batch file but they must be run independently (as opposed t
simultaneously for licensing reasons). I'm using VPC 2007 and have
command line which looks similar to belo
Code
-------------------
start /wait "" "c:\program files\....\virtual pc.exe" -pc XPHome -launc
-------------------
First the "" after the /wait is because the file location require
quotes; so if the "" do not exist the start command thinks the fil
location is the "title" of the screen. It needs to be there
Now my problem with Vista is that it immediately drops to the comman
line after running this and does not wait, thus causing my script t
open all the VPCs and Microsoft thinking I've just sold my key to
surprising number of people with identical MAC addresses ;-)
So my question here is how do I get Vista to wait for this VPC to clos
before moving to the next line in the script
Thanks in advance
TJ
Additional info
- start /wait will work with notepa
- I've tried removing the start command and use the command line strin
only with no avail (same issue
--
TJC79
|