kb2101 - Start Windows files and other programs from a batch file (SDK)

To run Microsoft Windows programs or files use the START command. The below example would run Windows Notepad.

START /MAX NOTEPAD


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

START /MAX C:\Windows\NOTEPAD.EXE


*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 /m representing it to start the window Maximized.

0 comments: