View Full Version : cmd does recognize my %PATH%
Jack Carden
December 5th 03, 09:35 PM
When I launch cmd.exe with a Start->Run command, it
receives what looks like a good set of environment
variables. For example:
C:\Documents and Settings\jcarden>echo %PATH%
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\Sy stem32
\Wbem;C:\Program Files\UltraEdit
Yet, I cannot execute programs, such as:
C:\Documents and Settings\jcarden>help
'help' is not recognized as an internal or external
command, operable program or batch file.
What else should I check?
Thanks in advance!
Sharon F
December 5th 03, 09:35 PM
On Wed, 3 Sep 2003 15:16:13 -0700, Jack Carden wrote:
> When I launch cmd.exe with a Start->Run command, it
> receives what looks like a good set of environment
> variables. For example:
> C:\Documents and Settings\jcarden>echo %PATH%
> %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\Sy stem32
> \Wbem;C:\Program Files\UltraEdit
>
> Yet, I cannot execute programs, such as:
> C:\Documents and Settings\jcarden>help
> 'help' is not recognized as an internal or external
> command, operable program or batch file.
>
> What else should I check?
>
> Thanks in advance!
Right click your Command Prompt shortcut and choose Properties
Change the "Start in:" line to C:\
Click OK
Start the shortcut and try help again
--
Sharon F
MS-MVP - Windows XP Shell/User
Thomas Wendell
December 5th 03, 09:36 PM
Sharon, no shortcut involved. It was Start->Run->cmd
How to change that starting dir?
--
Reply to group
=================================================
Most learned here on nntp://news.mircosoft.com
Helsinki, Finland (remove _SPAM)
(translations from FI/SE not always accurate)
=================================================
"Sharon F" > kirjoitti viestissä
.. .
> On Wed, 3 Sep 2003 15:16:13 -0700, Jack Carden wrote:
>
> > When I launch cmd.exe with a Start->Run command, it
> > receives what looks like a good set of environment
> > variables. For example:
> > C:\Documents and Settings\jcarden>echo %PATH%
> > %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\Sy stem32
> > \Wbem;C:\Program Files\UltraEdit
> >
> > Yet, I cannot execute programs, such as:
> > C:\Documents and Settings\jcarden>help
> > 'help' is not recognized as an internal or external
> > command, operable program or batch file.
> >
> > What else should I check?
> >
> > Thanks in advance!
>
> Right click your Command Prompt shortcut and choose Properties
> Change the "Start in:" line to C:\
> Click OK
> Start the shortcut and try help again
>
> --
> Sharon F
> MS-MVP - Windows XP Shell/User
Sharon F
December 5th 03, 09:39 PM
On Thu, 4 Sep 2003 10:34:34 +0300, Thomas Wendell wrote:
> Sharon, no shortcut involved. It was Start->Run->cmd
>
> How to change that starting dir?
Create a shortcut to cmd.exe and change the properties as mentioned. Give
the shortcut a try. See if that accomplishes what you want. I dropped a
copy of the shortcut into my QuickLaunch bar. On my system, "help" works
fine when I use that shortcut.
--
Sharon F
MS-MVP - Windows XP Shell/User
Alex Nichol
December 5th 03, 09:44 PM
Jack Carden wrote:
>When I launch cmd.exe with a Start->Run command, it=20
>receives what looks like a good set of environment=20
>variables. For example:
> C:\Documents and Settings\jcarden>echo %PATH%
> %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\Sy stem32
>\Wbem;C:\Program Files\UltraEdit
>
>Yet, I cannot execute programs, such as:
> C:\Documents and Settings\jcarden>help
> 'help' is not recognized as an internal or external=20
>command, operable program or batch file.
There is no 'help.com' or 'help.exe' provided with XP. You get help on
individual DOS style commands using the
commandname /?
method
--=20
Alex Nichol MS MVP (Windows Technologies)
Bournemouth, U.K.
Chuck
December 5th 03, 09:48 PM
"Alex Nichol" > wrote in message
...
Jack Carden wrote:
>When I launch cmd.exe with a Start->Run command, it
>receives what looks like a good set of environment
>variables. For example:
> C:\Documents and Settings\jcarden>echo %PATH%
> %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\Sy stem32
>\Wbem;C:\Program Files\UltraEdit
>
>Yet, I cannot execute programs, such as:
> C:\Documents and Settings\jcarden>help
> 'help' is not recognized as an internal or external
>command, operable program or batch file.
There is no 'help.com' or 'help.exe' provided with XP. You get help on
individual DOS style commands using the
commandname /?
method
Take a look in the System32 folder.
vBulletin® v3.6.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.