Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Batch files

Status
Not open for further replies.

mf11

IS-IT--Management
Sep 19, 2003
14
CA
I am interested in learning how to create batch file for NT work stations through the cmd prompt. Is there anything online that gives helpful instructions or tips on how to create them?
Thanks for any suggestions.
mf11
 
Hi,

There isn't any resource that I know of specifically relating to batch files, but if you look up using the command prompt (cmd.exe and command.com), and the best way to edit them is with a text editor such as notepad, but put double quotes around the name so it won't add a .txt extension on the end of the filename.
Basically at its simplest, a batch file is a list of commands executed one by one, but as complexity increases it can include parameters, reference environment variables, loop through lists of files and branch out to subroutines and call external programs and act on their results etc.

John
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top