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]