Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

From a command prompt, some programs can launch by typing the name of the exe file, and some do not (not found), However the programs not found can be run with the start command. For example, see this terminal session:

>notepad

>wordpad
'wordpad' is not recognized as an internal or external command,
operable program or batch file.

>start wordpad

>

So what does start exactly do

share|improve this question
    
may have to do with the file path of wordpad "C:\Program Files\Windows NT\Accessories" if you navigate to the accessories folder in cmd prompt, then use the wordpad command it works. –  Moab Nov 12 '12 at 15:33

2 Answers 2

up vote 4 down vote accepted

The run command in the start menu does accept wordpad to start Wordpad. This has to do with something called APP_PATHS introduced in Windows 95 (see Raymond Chen's blogpost http://blogs.msdn.com/b/oldnewthing/archive/2011/07/25/10189298.aspx). The start command does search APP_PATHS.

share|improve this answer
    
additionally, wordpad isnt really really called wordpad, its called write. drop to a cmd and just write, it will launch wordpad. –  BroScience Nov 12 '12 at 15:37
    
Probably the same as pbrush -> mspaint and the same sorcery involved. –  Roald van Doorn Nov 12 '12 at 15:38
    
BroScience, it's wordpad.exe. write.exe is just a stub launching the other one. –  Joey Nov 12 '12 at 15:54
    
@Joey I think you miss the @ for ping ;) –  avirk Nov 12 '12 at 16:10
    
avirk, no, it's intentional ;-). Since I don't see any technical need for the @ I will leave it out until SE will notify in a sane way. IRC works well without needing @s and other nonsense, for example :P –  Joey Nov 12 '12 at 16:13

By default if you execute cmd inside of cmd, the console window will be inherited, waiting for the created process to end.

Using start (that is a cmd integrated command, not an executable) you can create a process in a new console instance, being able to modify process creation options and optionally wait on the created process to end.

See also

start /?

and on TechNet: http://technet.microsoft.com/en-us/library/bb491005.aspx

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.