Re: cmd doesn't search my path for programs
- From: "Pegasus \(MVP\)" <I.can@xxxxxxx>
- Date: Sun, 21 Jan 2007 09:15:42 +1100
<israelhsu@xxxxxxxxx> wrote in message
news:1169327197.937315.25730@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello.%SystemRoot%;%SystemRoot%\system32;%SystemRoot%\system32\WBEM;E:\Programs\1-
I'm running Windows XP SP2, updated and virus-free and trojan-free. I
also have Cygwin installed and running.
When I use cmd, many (most) programs cannot be found even though the
PATH environment variable is correct. My PATH includes
File
Utilities. The last directory contains some utility programs that did
not require an install (just copy and use), for example, pdftk.exe.
I've checked the PATH by running "echo %PATH%" and by looking in My
Computer > Properties > Advanced > Environment Variables.
In cmd, when I type "pdftk", it works only if the current directory is
E:\Programs\1-File Utilities. Otherwise, the error is given: 'pdftk' is
not recognized as an internal or external command, operable program or
batch file.
My PATHEXT also includes .EXE (is PATHEXT case sensitive?)
I *can* run "notepad" from cmd (which is located in
%SystemRoot%\system32).
Help! I've run out of ideas It seems that the cmd is not searching the
PATH.
Thanks.
Type the command echo %path% from a Command
Prompt. Does it read litterally
%SystemRoot%;%SystemRoot%\system32;%SystemRoot%\system32\WBEM;E:\Programs\1-
File
Utilities
If so then the path key in the registry is of the wrong type. It is
kept here: HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
and it must be of type REG_EXPAND_SZ, not REG_SZ.
.
- Follow-Ups:
- Re: cmd doesn't search my path for programs
- From: israelhsu@xxxxxxxxx
- Re: cmd doesn't search my path for programs
- References:
- cmd doesn't search my path for programs
- From: israelhsu@xxxxxxxxx
- cmd doesn't search my path for programs
- Prev by Date: Re: Unable to copy anything to DVD or Cd burner using windows?
- Next by Date: XP Home Upgrade question
- Previous by thread: cmd doesn't search my path for programs
- Next by thread: Re: cmd doesn't search my path for programs
- Index(es):
Relevant Pages
|
Loading