meagain35
05-24-2004, 10:58 AM
Quick question:
I write tons of batch files and various scripts to automate tasks in the office.
Is there a way to set a timeout when running a test like this:
IF NOT EXIST \\PCNAME\C$ ECHO NOT FOUND..
If the PC doesn't exist on the network this can take several seconds to complete. I want to have this timeout after x number seconds and move on.
Got any ideas?
Regards,
Meagain
I write tons of batch files and various scripts to automate tasks in the office.
Is there a way to set a timeout when running a test like this:
IF NOT EXIST \\PCNAME\C$ ECHO NOT FOUND..
If the PC doesn't exist on the network this can take several seconds to complete. I want to have this timeout after x number seconds and move on.
Got any ideas?
Regards,
Meagain