XP Path Environment variable

Archived from groups: microsoft.public.windowsxp.configuration_manage (More info?)

I'm trying to add a path value to my existing path
statement for XP (via control panenel->system, advanced
tab, environment) but it is truncated. If the size limit
is 1023 chars, then I'm well under this.

I change the PATH variable via:
Right click My Computer, Properties, Advanced tab;
Environment Variables button (at the bottom)

Here's the current path statment:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32
\Wbem;c:\Python22;C:\Program files\PC-Doctor for Windows
XP\WINDSAPI;C:\Program Files\Sonic\MyDVD;C:\PROGRA~1
\COMMON~1\AUTODE~1

I have removed the last path (C:\PROGRA~1\COMMON~1
\AUTODE~1) and added a new path (C:\j2sdk1.4.2_04\bin).

The path statement now reads:
%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32
\Wbem;c:\Python22;C:\PROGRA~1\PC-Doctor for Windows
XP\WINDSAPI;C:\PROGRA~1\Sonic\MyDVD;C:\j2sdk1.4.2_04\bin

If I enter the command PATH in a command prompt window,
the path reported back is:

PATH=C:\WINDOWS\system32;C:\WINDOWS\;C:\WINDOWS\System32
\Wbem;c\Python22;C:\PROGRA~1\PC-DOC~1\WINSAPI;C:\PROGRA~1
\Sonic\MyDVD;C

Looking at this, I see the only part of the path I added,
C:\j2sdk1.4.2_04\bin, is the letter "C".

Any clues/help is appreciated!
1 answer Last reply
More about path environment variable
  1. Seems like you are setting it incorrectly see the solution here
    make sure that you end the last path with ;
    or see the solution here.

    http://ramannanda.blogspot.com/2009/04/setting-path-variable-in-windows-xp_14.html
Ask a new question

Read More

Configuration Environment Variables System32 Command Prompt Windows XP