environment variables in windows xp ( "PATH" )

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
milena
Posts: 3
Joined: 20 Jan 2015 07:30

environment variables in windows xp ( "PATH" )

#1 Post by milena » 20 Jan 2015 08:06

Hi !
That's my first post ...

On my PC, running Microsoft Windows XP SP2 [Ver. 5.1.2600], from the dos prompt, by means of the command "set", I get a "path" variable whose content is shorter than the content of the "path" variable accessible from My Computer > Properties > Advanced > Environment variables.

That is, there are some folders in the latter, absent in the former.

Please can you explain the cause and suggest a workaround ?

Thanks a lot!!

Milena

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: environment variables in windows xp ( "PATH" )

#2 Post by foxidrive » 20 Jan 2015 08:09

Paste both lines here if you want a thoughtful answer rather than a guess.

milena
Posts: 3
Joined: 20 Jan 2015 07:30

Re: environment variables in windows xp ( "PATH" )

#3 Post by milena » 20 Jan 2015 12:45

From Windows dialog:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Programmi\File comuni\Adobe\AGL;C:\Programmi\Calibre2;c:\works\_BATCH;c:\works\_PROGRAMS

From dos prompt:

C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programmi\File comuni\Adobe\AGL;C:\Programmi\Calibre2

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: environment variables in windows xp ( "PATH" )

#4 Post by foxidrive » 20 Jan 2015 23:58

We can't tell how you have launched the command, or what command you launched, and also what configuration you have done to cmd settings, and where you got the windows info from.

Hence we can't make a reasoned judgement. It looks like the paths you supplied are not complete either - incomplete data leads to mistakes and wasted time.

milena
Posts: 3
Joined: 20 Jan 2015 07:30

Re: environment variables in windows xp ( "PATH" )

#5 Post by milena » 21 Jan 2015 11:26

I'm sorry for misunderstanding.

1.
I got the windows info from:
My Computer > Properties > Advanced > Environment variables.

2.
I launched the DOS command by means of a batch file containing only
set > readme.txt

3.
"It looks like the paths you supplied are not complete either ..."
I can't understand this. Please, is there something missing ?

Bye !

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: environment variables in windows xp ( "PATH" )

#6 Post by foxidrive » 22 Jan 2015 03:43

milena wrote:
1.
I got the windows info from:
My Computer > Properties > Advanced > Environment variables.

2.
I launched the DOS command by means of a batch file containing only
set > readme.txt


ok.

Do it again - if items are added in Windows GUI then a cmd window will not see them.

Copy the items from My Computer > Properties > Advanced > Environment variables.

and then open a cmd prompt and type set path

Squashman
Expert
Posts: 4488
Joined: 23 Dec 2011 13:59

Re: environment variables in windows xp ( "PATH" )

#7 Post by Squashman » 22 Jan 2015 05:58

Yeah that sounds like the only explanation for this issue.

Post Reply