I used robocopy batch script in Windows Vista.
It takes about an hour.
This script can't use in Windows7, because it turns offline about 5 minutes later.
Can I keep online in this batch script ?
I used robocopy batch script in Windows Vista.
It takes about an hour.
This script can't use in Windows7, because it turns offline about 5 minutes later.
Can I keep online in this batch script ?
I think what you're asking is: Why does the console window in which the robocopy script run stays on my screen for an hour when I execute it in my Vista machine, but closes automatically within five minutes when I execute it in my Win7 machine.
If that is the case, I believe it is due to some error that led to script to end it's execution and closing the prompt. It usually closes if you run the script by clicking on it and the script is done executing.
To figure out the error, you should try running CMD application (the windows command line tool). Run CMD.exe.
Then navigate to the folder where your script is located.
Run the script via command line.
Check if there is any error messages on the screen and edit your question, adding the error message.
If this is not what you meant, please add more info to your question.