start (command)

{{Short description|Shell command}}

{{lowercase title}}

{{Infobox software

| name = start

| logo =

| screenshot = ReactOS-0.4.13 start command 667x434.png

| screenshot size =

| caption = The ReactOS start command

| developer = IBM, Microsoft, ReactOS Contributors

| released =

| latest release version =

| latest release date =

| operating system = OS/2, Microsoft Windows, ReactOS

| genre = Command

| license =

| website =

}}

In computing, start is a command of the IBM OS/2,{{Cite web |url=http://www.jatomes.com/Help/Os2Cmd.php#START |title=JaTomes Help - OS/2 Commands |access-date=2019-07-06 |archive-date=2019-04-14 |archive-url=https://web.archive.org/web/20190414130029/http://www.jatomes.com/Help/Os2Cmd.php#START |url-status=dead }} Microsoft Windows{{Cite web|url=https://www.computerhope.com/starthlp.htm|title = MS-DOS and Windows command line start command}} and ReactOS{{Cite web|url=https://github.com/reactos/reactos/blob/master/base/shell/cmd/start.c|title=Reactos/Reactos|website=GitHub|date=3 January 2022}} command-line interpreter cmd.exe{{cite web | title=Start | website=Microsoft Learn | date=2021-11-12 | url=https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/cc770297(v=ws.11)?redirectedfrom=MSDN | access-date=2023-11-22}} (and some versions of COMMAND.COM) to start programs or batch files or to open files or directories using the default program. {{code|start}} is not available as a standalone program. The underlying Win32 API is {{code|ShellExecute}}.

The command is also one of the basic commands implemented in the Keyboard Monitor (KMON) of the DEC RT-11 operating system.{{Cite web |url=http://paleoferrosaurus.com/beta/documents/rt11help.html#START |title=Rt-11 Help File |access-date=2018-07-16 |archive-date=2018-07-17 |archive-url=https://web.archive.org/web/20180717041552/http://paleoferrosaurus.com/beta/documents/rt11help.html#START |url-status=dead }}

The TOPS-10{{Cite book |title=TOPS-10 Operating System Commands Manual |date=August 1980 |publisher=Digital Equipment Corporation |url=http://scandocs.trailing-edge.com/tops10-aa-0916d-tb.pdf |access-date=2019-02-17 |archive-date=2020-08-09 |archive-url=https://web.archive.org/web/20200809145058/http://scandocs.trailing-edge.com/tops10-aa-0916d-tb.pdf |url-status=dead }} and TOPS-20{{cite web

|url=http://www.textfiles.com/bitsavers/pdf/dec/pdp10/TOPS20/V6.1/AA-FP65A-TM_tops20CmdsRef.pdf

|title=TOPS-20 Command manual

|access-date=2018-07-18

|archive-date=2020-08-09

|archive-url=https://web.archive.org/web/20200809103116/http://www.textfiles.com/bitsavers/pdf/dec/pdp10/TOPS20/V6.1/AA-FP65A-TM_tops20CmdsRef.pdf

|url-status=dead

}} operating systems also provide a start command. It is used to start a program in memory at a specified address.

Other environments

File:RT-11 help.jpg displayed on a VT100.]]

  • Typical Unix shells (bash, etc.) have no built-in registry of file types and associated default applications. Linux command-line tools with similar functions include xdg-open{{Cite web|url=https://www.freedesktop.org/wiki/Software/xdg-utils/|title = XDG-utils}} and run-mailcap.
  • On Cygwin, the command is implemented as the {{code|cygstart}} executable.{{cite web |title=cygstart man page on Cygwin |url=http://www.polarhome.com/service/man/?qf=cygstart&tf=2&of=Cygwin&sf=1 |website=www.polarhome.com}}
  • In PowerShell, the Invoke-Item cmdlet is used to invoke an executable or open a file.{{Cite web|url=https://ss64.com/nt/start.html|title=Start - Start a program - Windows CMD - SS64.com|website=ss64.com}}
  • On Apple macOS and MorphOS, the corresponding command is open.{{Cite web |title=Shell Commands/Open - MorphOS Library |url=https://library.morph.zone/Shell_Commands/Open |access-date=2024-07-11 |website=library.morph.zone}}
  • On Stratus OpenVOS it is start_process.{{cite web |url=http://stratadoc.stratus.com/vos/19.1.0/r098-19/wwhelp/wwhimpl/common/html/r098-19.pdf |title=OpenVOS Commands Reference Manual |author=Stratus Technologies Bermuda, Ltd |year=2017}}

Syntax

=Windows, ReactOS=

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 Starts the command or program and waits for its termination.

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

Examples

=Windows, ReactOS=

C:\>start notepad file.txt

C:\>start "C:\My Music\My Song.mp3"

C:\>start www.wikipedia.org

See also

  • Run command
  • {{section link|File association|Microsoft Windows}}

References

{{Reflist}}

Further reading

  • {{Cite book|author1=Kathy Ivens|author2=Brian Proffit|year=1993|title=OS/2 Inside & Out|publisher=Osborne McGraw-Hill|isbn=978-0078818714}}
  • {{Cite book|first=Æleen|last=Frisch|year=2001|title=Windows 2000 Commands Pocket Reference|publisher=O'Reilly|isbn=978-0-596-00148-3}}