|
Starts a program written for Windows or Dos in a new window.
Syntax:
To run a program:
START [/Switches] programname
To open a data file (in the program associated with its extension):
START [/Switches] document.ext
| /M | The specified program is opened in a minimized window. |
| /MAX | The specified program is opened in a full screen window. |
| /R | The specified program is opened in its default sized window. [default] |
| /W | Control does not pass back to the window from which START was invoked until the new window is closed. |
Notes:
- There is some overlap in the function of START, CALL, and Command /c in that all commands are typically used in batch files to invoke secondary batch files or programs.
- A program invoked with START opens under a new, temporary instance of the command interpreter (Command.com) in a new window. This window remains open until closed by the user.
- START will run executable programs with .exe, .com, and .bat extensions but not Dos internal commands. In addition, if the parameter following START is a data file that Win95 has associated with a particular program, that program will be run and the data file loaded. (Analogous to double-clicking on a file in Windows Explorer).
- START will only accept one parameter (batch file, program, or data file). Any additional parameters entered are assumed to be associated with programname or document.ext and handled accordingly.
- If long file names contain spaces, they must be enclosed in inverted commas [""]. Otherwise, the parameter is considered "multiple" - see above.
- An observation rather than a note, perhaps: unlike every other command, START/? will not be redirected to a file! The file will be created, but output goes to the screen, not the file (which remains empty).
Exit Codes:
| 0 | The command was executed without errors |
| 255 | An error occurred. |
File Details
| File Name | Version | Size | Date | Default Location |
| Start.exe |
Win95: Upgrade | 9 216 | 11/07/95 | c:\windows\command |
| Win95: OSR2.5 | 9 216 | 24/08/96 | c:\windows\command
|
|