Jump to content

start (command)

From Wikipedia, the free encyclopedia
start
Developer(s)IBM,Microsoft,ReactOS Contributors
Operating systemOS/2,Microsoft Windows,ReactOS
TypeCommand

Incomputing,startis acommandof theIBMOS/2,[1]Microsoft Windows[2]andReactOS[3]command-line interpretercmd.exe[4](and some versions ofCOMMAND.COM) to start programs orbatch filesor to open files ordirectoriesusing the default program.startis not available as a standalone program. The underlyingWin32 APIisShellExecute.

The command is also one of the basic commands implemented in the Keyboard Monitor (KMON) of theDECRT-11operating system.[5] TheTOPS-10[6]andTOPS-20[7]operating systems also provide astartcommand. It is used to start a program in memory at a specified address.

Other environments[edit]

Description of theSTARTcommand ofRT-11SJdisplayed on aVT100.
  • Typical Unix shells (bash,etc.) have no built-in registry of file types and associated default applications. Linux command-line tools with similar functions includexdg-open[8]andrun-mailcap.
  • OnCygwin,the command is implemented as thecygstartexecutable.[9]
  • InPowerShell,theInvoke-Itemcmdlet is used to invoke an executable or open a file.[10]
  • OnApplemacOS,the corresponding command isopen.
  • OnStratusOpenVOSit isstart_process.[11]

Syntax[edit]

Windows, ReactOS[edit]

start [ "title" ] [/D path] [/I] [/B][/MIN][/MAX][WAIT]
[command/program] [parameters]

"title" Title of the window.

Path Specifies the startup directory.

I Use the original environment given to cmd. exe,

Instead of the current environment.

B Starts the command or program without creating any window.

MIN Starts with a minimized window.

MAX Starts with a maximized window.

WAIT Startsthe command or program and waits for its termination.

command specifies the parameters to be given to the command or program.


C: \Documents and setting \ Administrator >_

Examples[edit]

Windows, ReactOS[edit]

C:\>startnotepad file.txt
C:\>start"C:\My Music\My Song.mp3"
C:\>startwikipedia.org

See also[edit]

References[edit]

  1. ^"JaTomes Help - OS/2 Commands".Archived fromthe originalon 2019-04-14.Retrieved2019-07-06.
  2. ^"MS-DOS and Windows command line start command".
  3. ^"Reactos/Reactos".GitHub.3 January 2022.
  4. ^"Start".Microsoft Learn.2021-11-12.Retrieved2023-11-22.
  5. ^"Rt-11 Help File".Archived fromthe originalon 2018-07-17.Retrieved2018-07-16.
  6. ^TOPS-10 Operating System Commands Manual(PDF).Digital Equipment Corporation. August 1980. Archived fromthe original(PDF)on 2020-08-09.Retrieved2019-02-17.
  7. ^"TOPS-20 Command manual"(PDF).Archived fromthe original(PDF)on 2020-08-09.Retrieved2018-07-18.
  8. ^"XDG-utils".
  9. ^"cygstart man page on Cygwin".polarhome.
  10. ^"Start - Start a program - Windows CMD - SS64".ss64.
  11. ^Stratus Technologies Bermuda, Ltd (2017)."OpenVOS Commands Reference Manual"(PDF).

Further reading[edit]

External links[edit]