Start a program in a new window or session
Both OS/2 and Windows (32 and 64 bits) feature a START command to start a program in a new, separate, session.
There are some differences between OS/2's START command syntax and NT's START command syntax, though.
One feature of Windows' START command that I like in particular is its use with associations.
Some examples:
START C:\MyFiles\Myletter.doc
START \\server\printer
START C:\WINNT\System32\ssmarque.scr /C
START C:\WINNT\System32\ssmarque.scr /S
START http://www.google.com
START mailto:president@whitehouse.gov
Notes: | (1) | Don't forget to enclose whatever you start in quotes if the string contains spaces (unless these spaces separate the "command" from its parameters). |
(2) | If you need to use quotes, Windows NT's START may interpret the quoted "command" string as the window's title; just add any title (may even be empty) to prevent this, e.g. START "" "C:\Users\%UserName%\My Documents\somefile.doc" . |
page last modified: 2021-12-18; loaded in 0.0016 seconds