hidden hit counter
Welcome to Soft32 Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Start, Run vs. Command Prompt

 
   Soft32 Home -> Windows -> Customize RSS
Next:  Setting drag-and-drop folder behavior in Windows ..  
Author Message
Swifty

External


Since: Aug 01, 2007
Posts: 70



(Msg. 1) Posted: Thu Nov 01, 2007 2:12 am
Post subject: Start, Run vs. Command Prompt
Archived from groups: microsoft>public>windowsxp>customize (more info?)

"Start", "Run…", "conf" opens NetMeeting

Typing "conf" in the Command Prompt just says that "conf" is not known.

So, how does "Run" know where to look?
See: http://www.swiftys.org.uk/HowDoesItKnow.html

--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk
Back to top
Login to vote
Nepatsfan

External


Since: Mar 14, 2005
Posts: 670



(Msg. 2) Posted: Thu Nov 01, 2007 11:54 am
Post subject: Re: Start, Run vs. Command Prompt [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In news:%23ngbIaFHIHA.4196@TK2MSFTNGP04.phx.gbl,
Swifty <Steve.J.Swift DeleteThis @gmail.com> wrote:
> "Start", "Run…", "conf" opens NetMeeting
>
> Typing "conf" in the Command Prompt just says that "conf" is
> not known.
>
> So, how does "Run" know where to look?
> See: http://www.swiftys.org.uk/HowDoesItKnow.html

I'm not sure there's a question here, but if there is, here's
an answer.

As long as there is a subkey for the program under this
registry key, it can be launched from the Run box.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App
Paths

I believe the Command Prompt relies on entries in the Path
Environmental Variable. Enter Path in a command prompt window
to see what those entries are.

Good luck

Nepatsfan
Back to top
Login to vote
Ramesh, MS-MVP

External


Since: Jun 29, 2005
Posts: 1055



(Msg. 3) Posted: Fri Nov 02, 2007 3:32 pm
Post subject: Re: Start, Run vs. Command Prompt [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

From http://msdn2.microsoft.com/en-us/library/bb776871.aspx

<excerpt>

Application Registration

When the ShellExecute function is provided with the name of an executable file in its lpFile parameter, there are several places that it can look in an attempt to find the file, including the following:

The current working directory
The Windows directory (no subdirectories are searched)
The Windows\System32 directory
Directories listed in the PATH environment variable
The App Paths registry key

The order that those locations are searched varies, though the App Paths key is preferred in Windows XP Service Pack 1 (SP1). The keys found under App Paths are used primarily for the following two purposes.

</excerpt>


--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


"Swifty" <Steve.J.Swift DeleteThis @gmail.com> wrote in message news:%23ngbIaFHIHA.4196@TK2MSFTNGP04.phx.gbl...
"Start", "Run…", "conf" opens NetMeeting

Typing "conf" in the Command Prompt just says that "conf" is not known.

So, how does "Run" know where to look?
See: http://www.swiftys.org.uk/HowDoesItKnow.html

--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk
Back to top
Login to vote
Ramesh, MS-MVP

External


Since: Jun 29, 2005
Posts: 1055



(Msg. 4) Posted: Fri Nov 02, 2007 3:35 pm
Post subject: Re: Start, Run vs. Command Prompt [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Additionally, typing "start conf.exe" from Command Prompt should work also. The "Start" command-line uses the shellexecute.
--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


"Ramesh, MS-MVP" <ramesh DeleteThis @XOX.mvps.org> wrote in message news:ORx2QFWHIHA.824@TK2MSFTNGP02.phx.gbl...
From http://msdn2.microsoft.com/en-us/library/bb776871.aspx

<excerpt>

Application Registration

When the ShellExecute function is provided with the name of an executable file in its lpFile parameter, there are several places that it can look in an attempt to find the file, including the following:

The current working directory
The Windows directory (no subdirectories are searched)
The Windows\System32 directory
Directories listed in the PATH environment variable
The App Paths registry key

The order that those locations are searched varies, though the App Paths key is preferred in Windows XP Service Pack 1 (SP1). The keys found under App Paths are used primarily for the following two purposes.

</excerpt>


--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


"Swifty" <Steve.J.Swift DeleteThis @gmail.com> wrote in message news:%23ngbIaFHIHA.4196@TK2MSFTNGP04.phx.gbl...
"Start", "Run…", "conf" opens NetMeeting

Typing "conf" in the Command Prompt just says that "conf" is not known.

So, how does "Run" know where to look?
See: http://www.swiftys.org.uk/HowDoesItKnow.html

--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk
Back to top
Login to vote
Swifty

External


Since: Aug 01, 2007
Posts: 70



(Msg. 5) Posted: Sat Nov 17, 2007 12:09 pm
Post subject: Re: Start, Run vs. Command Prompt [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ramesh, MS-MVP wrote:
> Additionally, typing "start conf.exe" from Command Prompt should work
> also. The "Start" command-line uses the shellexecute.

Thanks, I hadn't come across "App Paths" before, and the "Start"
mechanism will work fine for me, as I always have a command window open.
In fact, I can get away with just "start conf", which saves me a few
keystrokes (I deduced this as I could click "Start" "Run..." and enter
just "conf").

--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk
Back to top
Login to vote
Ramesh, MS-MVP

External


Since: Jun 29, 2005
Posts: 1055



(Msg. 6) Posted: Sat Nov 17, 2007 10:47 pm
Post subject: Re: Start, Run vs. Command Prompt [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

You're welcome Steve.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


"Swifty" <Steve.J.Swift RemoveThis @gmail.com> wrote in message news:%23HSl4TUKIHA.3400@TK2MSFTNGP03.phx.gbl...
Ramesh, MS-MVP wrote:
> Additionally, typing "start conf.exe" from Command Prompt should work
> also. The "Start" command-line uses the shellexecute.

Thanks, I hadn't come across "App Paths" before, and the "Start"
mechanism will work fine for me, as I always have a command window open.
In fact, I can get away with just "start conf", which saves me a few
keystrokes (I deduced this as I could click "Start" "Run..." and enter
just "conf").

--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Removing start menu picture - I have a PC running XP SP2. Is it possible to configure XP so that it does not display a photo on the Start Menu? ...

configure Start/Favorites to launch new browser? - I've enabled Favorites in the Start button, but when I pick a favorite it takes over an already open browser, and push...

Start a service using a short cut on Desktop - Hi, I have installed Oracle on my laptop computer for reference. I donot want these services started automatically wh...

Unable to start Windows Firewall/ICS service. - Hi I am working on a Windows xp professional SP2. Whenever I am trying to start the service "Windows firewall/Int...
       Soft32 Home -> Windows -> Customize All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
  Windows
 Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]