PATH ignored

M

michele

Hello guys,

for some reason PATH variable in my environment seems to be completely
ignored by the system.
It doesn't metter what directory path is specified there: no program can be
executed from dos command line.
I always get the error 'fileName' cannot be recognized as an internal or
external command, operable or batch file

Does anyone have any suggestion?

Thank you.
BR,
mik
 
P

Pegasus \(MVP\)

Please do this and quote the screen output in your reply post:
- Start / Run / cmd / {OK}
- set path
- set pathext
 
M

michele

Here it is:

C:\>set path
PATH=C:\Program Files\Common Files\Michele\Tools;C:\Perl\bin; C:\Program
Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft
Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual
Studio\Common\Tools;C:\Program Files\Microsoft Visual Studio\VC98\bin;
C:\Progra~1\Python22; C:\Michele\7.0s\SerialApplication\TmpDev\tools;
C:\Michele\7.0s\SerialApplication\TmpDev\gcc\bin;
C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH

C:\>set pathext
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH


- michele
 
P

Pegasus \(MVP\)

I have heard of cases where an excessively long path gets
truncated so that the last elements are ignored. This may
well apply to your path. Furthermore, your path is back
to front: The elements that are accessed most often
(c:\winnt, c:\winnt\system32) are right at the end, thus
slowing down your system enormously. They should be
right at the front:

path=C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;etc.
 

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


Top