To execute notepad at any times I want in dos

July 27, 2011 at 04:14:02
Specs: Windows XP
1. Why can we just type "notepad" in DosCommandLine and notepad appears?
But this approach can't work if I want to launch any other application...
So I just wanna know why notepad works and why the others can't and if I desire the others could do that, how?

ps: I really don't want to get a shortcut of the specific application, typing "start XXX" to launch it...

2. I can type "calc" to launch calculator and "notepad" for notepad, so how about the rest application ? Do we have a list?

3. How can I launch notepad in any times I want?
If I want to open 10000 notepad in DOS command, I can't just type "notepad" for 10000 times.
I have to write a batch file, or find the command. But I can't find the method...
Please help <(_ _)>

See More: To execute notepad at any times I want in dos

Report •

July 27, 2011 at 04:28:53
You trying to develop a prank to crash a desktop or something haha

Report •

July 27, 2011 at 06:32:46
1. You can run notepad.exe and many other programs from the command line without specifying a full path because the folder they are in is in the command search path. Most applications are not.

2. There is no list.

3. Since I see no legitimate use for this I will not discuss it.

Report •

July 28, 2011 at 09:15:03
2. Make your own list:
@for %%a in (%PathExt%) do @for %%b in (%path%) do @for %%c in (%%b\*%%a) do @echo %%c

How To Ask Questions The Smart Way

Report •

Related Solutions

July 28, 2011 at 20:09:35
I have discovered that all the applications under System32 can be launch directly
by directly typing its name.

But the 3rd question is the most important issue...

Report •

Ask Question