NT 4.0 Batch files
Hi
Does anyone out there know of a site where i can get tutorials/ info on batch files. I am trying to write one to run on our server overnight, bit having problems.
Thanks
Lee
Windows Forum
Hi
Does anyone out there know of a site where i can get tutorials/ info on batch files. I am trying to write one to run on our server overnight, bit having problems.
Thanks
Lee
by pete_may
There's a few sites out there with tutorials.
http://www.robvanderwoude.com/index.html is one of them. You're best off runing your script on a test machine so then you can see the effect of any changes. This is probably the best way to learn and ensure script does what you want.
Peter
by lcha
Have a look on the following page:
http://www.fortunecity.com/skyscraper/wired/53/index.htm
If you run batch programs overnight, you are probably using the NT scheduler. Keep the following in mind when scheduling batch command files:
- The shell context for scheduled tasks is empty. This means you cannot use network drive letters or environment variables that are available while you are logged on interactively.
- The default security context is the local system account. You need to set up a special service account if you need privileges over the network.
- Put lots of 'Echo xxxx >> logfile.txt' statements in to keep track of the batch program. Also append a '>> logfile.txt' to most of the commands, for debugging purposes.Hope this helps...
by lcha
by lcha
This discussion is closed to new replies.
Sort by Trending