January 4th, 2011, 05:16 PM
if then else statements for batch
I am trying to create a batch file that will sense when the application has been minimized or closed and acts accordingly.
This is what I have come up with thus far. Please let me know if I am even in the ball park.
I am trying to create a student environment that will now allow the users to see the base OS using vmware.
start /wait E:\vm\vmcontainer\bob_container.vmx
if %min% [shutdown /l]
if %cls% [shutdown /r /t 01]
Tags for this Thread
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!