Batch

From BR Wiki
(Redirected from .cmd)
Jump to navigation Jump to search

A Batch file or .Bat or .Cmd is a windows based scripting language which dates back to the early days of DOS. See also Wikipedia:Batch file.

 *If 
 *if (another)
 *Set

Many of the unusual parsing commands can be found at a DOS prompt by using

  • Call /?
  • Set /?


and probably all commands by using

 Help

at a command prompt.

Specific Examples

To read a file into a variable use something similar to

set /p app1= <launch\app1.txt.

this will pull the contents of launch\app1.txt into the app1 variable