Start->Run vs Command Prompt

  • Thread starter Thread starter PrasannaP
  • Start date Start date
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
 
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.
 
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.
 
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.
 
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
 
Back
Top