Batch file programming tutorials

Processing the contents of a text file using FOR loop

Contributed by gmartin on February 5, 2004 under Batch file programming

As admins, we often have to take actions against a list of things (computers, servers, file shares, etc). One great way to approach this is to put the list in a test file and use a FOR command to loop through the file and take a action against the contents.

Comments
 

Supress Responses From Commands In Batch Files

Contributed by AlexTheBeast on December 6, 2003 under Batch file programming

This quick recipe describes how to supress responses to commands within batch files.

Comments
 

Supressing Prompts In Batch Files While Deleting All Files

Contributed by AlexTheBeast on under Batch file programming

Successful batch files cannot be slowed down with a bunch of user prompts. This little recipe will show you how to supress prompts in batch files.

Comments
 

Create Batch File to Start or End Window Services

Contributed by davak on November 28, 2003 under Batch file programming

The windows environment can be easily changed by starting or ending various windows services. For example, this method can be used to easily shut down multiple services for a performance boost during game playing.

Comments