• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 16. Understanding Batch Files > Running Batch Files from Other Batch Fi...

Running Batch Files from Other Batch Files

On some occasions, you might want to run a batch file from another batch file. Running batch files from within batch files is particularly useful when you want to create a menu batch file that can start several different programs.

The following sections discuss three ways to run batch files from other batch files. One method is a one-way transfer of control. The other two methods involve running a second batch file and returning control to the first batch file. These techniques are useful if you want to build menus with batch files or use one batch file to set up and start another batch file.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint