Start->Run vs Command Prompt

P

PrasannaP

I have a basic question.

When I type "wmplayer" in Start->Run, it opens up Windows Media Player, no
problem.

However, when I open Command Prompt (cmd.exe) and type wmplayer, it says

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

Why is Start-Run able to find wmplayer whereas cmd prompt can't? Do they use
different search paths?

Thanks
Prasanna
 
T

Todd Vargo

PrasannaP said:
I have a basic question.

When I type "wmplayer" in Start->Run, it opens up Windows Media Player, no
problem.

However, when I open Command Prompt (cmd.exe) and type wmplayer, it says

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

Why is Start-Run able to find wmplayer whereas cmd prompt can't? Do they use
different search paths?

The command prompt searches %PATH% for wmplayer.exe while the RUN box
searches through registered programs in the registry.
 
M

Mark Blain

I have a basic question.

When I type "wmplayer" in Start->Run, it opens up Windows Media
Player, no problem.

However, when I open Command Prompt (cmd.exe) and type wmplayer, it
says

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

Why is Start-Run able to find wmplayer whereas cmd prompt can't? Do
they use different search paths?

Try typing "start wmplayer" in Command Prompt.
 
H

Herb Martin

PrasannaP said:
I have a basic question.

When I type "wmplayer" in Start->Run, it opens up Windows Media Player, no
problem.

However, when I open Command Prompt (cmd.exe) and type wmplayer, it says

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

Why is Start-Run able to find wmplayer whereas cmd prompt can't? Do they
use different search paths?

I generally build either batch commands (on the path) or use DosKey (still
built into
modern Windows including Vista and likely 2008) macros for starting programs
which are not on the path.
 
E

era.nirmalkumar

I have a basic question.

When I type "wmplayer" in Start->Run, it opens up Windows Media Player, no
problem.

However, when I open Command Prompt (cmd.exe) and type wmplayer, it says

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

Why is Start-Run able to find wmplayer whereas cmd prompt can't? Do they use
different search paths?

Thanks
Prasanna
=================================================================
using cmd promt:
the command is : start wmplayer

general command: start programexe name
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Dos Prompt 1
Dos Prompt 2
Dos prompt 1
Getting not recognized command when I type in any command . 6
Command Prompt 4
Cannot find disk defregmenter tools 2
vbs script in XP 9
CMD window from run menu 9

Top