Calling a batch file 
Author Message
 Calling a batch file

How do I call a batch file to run after a certain amount of time in a
VBScript.

For example, I want the batch file to run 1 minute after Windows NT starts

Thanks
Kevin Hardy



Sat, 22 Dec 2001 03:00:00 GMT  
 Calling a batch file
a common way to do that (having nothing to do with vbscript) is to use
srvany.exe to automatically invoke the batch as a service at startup.
Assuming you want to wait a minute to ensure some other service has time to
load, a more direct way is to set the "DependsOnService" registry value for
the newly created service.  srvany (and its documentation) is in the nt
resource kit.

steve

Quote:
>For example, I want the batch file to run 1 minute after Windows NT starts

>Thanks
>Kevin Hardy



Sat, 22 Dec 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. call a batch file from Access

2. Calling a batch file?

3. Newbie: Calling a batch file

4. calling a batch file

5. Can Autorun call a batch file???

6. Call a batch file.

7. calling a batch file from script

8. Logon Batch to call a VBS that calls another batch

9. HELP! Call Script from a batch file

10. Call VBScribt with parameter from DOS Batch file

11. calling batch files

12. batch file called from ASP

 

 
Powered by phpBB® Forum Software