PATH exasperation

  • Thread starter Thread starter Jerome
  • Start date Start date
J

Jerome

My User and System PATH results in this at a CMD.EXE command line:

PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\Python22;C:
\Program Files\PC-Doctor for Windows\services;C:\iprsm\usr\bin;C:
\iprsm\usr\bin\sieperl\perl\5.6.1\bin\MSWin32-x86-multi-thread;C:
\Sun\AppServer\bin;C:\Program Files\SSH Communications Security\SSH
Secure Shell;C:\iprsm\usr\bin;C:
\iprsm\usr\bin\sieperl\perl\5.6.1\bin\MSWin32-x86-multi-thread;

in C:\iprsm\usr\bin\sieperl\perl\5.6.1\bin\MSWin32-x86-multi-thread
there is a perl.exe and a perl56.dll that work properly when I am in that
directory. However, they do not work from any other directory, where
"perl -v" fails with "'perl' is not a recognized..." blah-blah-blah

I have this same setup working successfully in Windows2000 for years, and
only on XP does it not work.

What's going on?
 
From: "Jerome" <[email protected]>

|
| My User and System PATH results in this at a CMD.EXE command line:
|
| PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\Python22;C:
| \Program Files\PC-Doctor for Windows\services;C:\iprsm\usr\bin;C:
| \iprsm\usr\bin\sieperl\perl\5.6.1\bin\MSWin32-x86-multi-thread;C:
| \Sun\AppServer\bin;C:\Program Files\SSH Communications Security\SSH
| Secure Shell;C:\iprsm\usr\bin;C:
| \iprsm\usr\bin\sieperl\perl\5.6.1\bin\MSWin32-x86-multi-thread;
|
| in C:\iprsm\usr\bin\sieperl\perl\5.6.1\bin\MSWin32-x86-multi-thread
| there is a perl.exe and a perl56.dll that work properly when I am in that
| directory. However, they do not work from any other directory, where
| "perl -v" fails with "'perl' is not a recognized..." blah-blah-blah
|
| I have this same setup working successfully in Windows2000 for years, and
| only on XP does it not work.
|
| What's going on?


Maybe you hacde to change the order. Move;
C:\iprsm\usr\bin\sieperl\perl\5.6.1\bin\MSWin32-x86-multi-thread
earlier in the path becuase there might be two DLLs that are the same but different versions
and the wrong version is being picked up first.
 
From: "Jerome" <[email protected]>

|
| My User and System PATH results in this at a CMD.EXE command line:
|
| PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c \Python22;C:
| \Program Files\PC-Doctor for Windows\services;C:\iprsm\usr\bin;C:
| \iprsm\usr\bin\sieperl\perl\5.6.1\bin\MSWin32-x86-multi-thread;C:
| \Sun\AppServer\bin;C:\Program Files\SSH Communications Security\SSH
| Secure Shell;C:\iprsm\usr\bin;C:
| \iprsm\usr\bin\sieperl\perl\5.6.1\bin\MSWin32-x86-multi-thread;
|
| in C:\iprsm\usr\bin\sieperl\perl\5.6.1\bin\MSWin32-x86-multi-thread
| there is a perl.exe and a perl56.dll that work properly when I am in
| that directory. However, they do not work from any other directory,
| where
| "perl -v" fails with "'perl' is not a recognized..." blah-blah-blah
|
| I have this same setup working successfully in Windows2000 for years,
| and only on XP does it not work.
|
| What's going on?


Maybe you hacde to change the order. Move;
C:\iprsm\usr\bin\sieperl\perl\5.6.1\bin\MSWin32-x86-multi-thread
earlier in the path becuase there might be two DLLs that are the same but
different versions and the wrong version is being picked up first.

No, the EXE is not being found at all, even though it's on the path.
 

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

Back
Top