Compiling:Batch Files

From Custom Map Makers Wiki
Revision as of 09:31, 19 August 2011 by DagF (talk | contribs) (The %1 variable)
Jump to: navigation, search

Batch Files

About

Batch Files are files with one or more command line. Batch files are often used to add surface sounds and bot's. But they can manage the same as a frontend.

The %1 variable

The %1 variable can be very usefull when making a batch file. Instead of a path to the file you want to work with you can simply use %1. This allowes you to work with the file that are droped on the batch file.

mspaint %1