How to start Windows files and programs from a batch file

Updated: 06/04/2017 by Computer Hope

Batch fileTo run Microsoft Windows programs or file, use the START command. The example below would run Windows Notepad.


You can also specify the direct location of the file by typing the following command.


Note: Windows users who have a different directory (e.g. Windows 2000 users) would need to substitute WINNT or the name of their directory in place of Windows in the above example.

The /max representing it to start the window Maximized.

To start a Windows file use the start command followed by the name of the file. In the example below, we have a start command that is starting the chdown.txt file in the default text editor and then also sounding an alarm MP4 audio file in the default media player.

start chdown.txt && alarm.mp4

Also, in this example, we are also using "&&" to tell Windows to start more than one file.

Tip: As long as Windows knows how to open a file you can use the start command with any file. For example, you could use the start command to open a movie file, video file, Word document, Excel file, and any other file.

Additional information