Windows 7 Command to change the path using environment variable from Command prompt

Swathi

New Member
Hi all,

In UNIX, for changing the directory path, there is "cd" command. .This works fine in windows 7 too.. But the problem comes when we are trying to change the path using environment variables. .

In UNIX, cd $JAVA_HOME changes the path to the value set for JAVA_HOME,

Similarly is there any command in Windows which does the trick from command prompt for changing path using Environment variables. .

Please let us know if further info is needed. .

many thanks
Swathi
 
Hi all,

In UNIX, for changing the directory path, there is "cd" command. .This works fine in windows 7 too.. But the problem comes when we are trying to change the path using environment variables. .

In UNIX, cd $JAVA_HOME changes the path to the value set for JAVA_HOME,

Similarly is there any command in Windows which does the trick from command prompt for changing path using Environment variables. .

Please let us know if further info is needed. .

many thanks
Swathi
it's the same
type set in a command prompt it show's all environment variables
Code:
C:\Users\MyUser>cd %ProgramFiles(x86)%
C:\Program Files (x86)>
 
Back
Top