Tuesday, July 28, 2009

How to create a path for c:\?

hey


am facing a problem when i typed set command on cmd prompt i found "Path=C:\Program Files\common files" but i think i need "Path=C:\Path=C:\Program Files\Reflection;C:\WINDOWS\system32;C:\...


m32\Wbem;" can anybody help me how to define this path in my xp sp2 ibm thinkpad.

How to create a path for c:\?
So you need to adjust your Path environment variable.





From a GUI: Open Control Panel -%26gt; System -%26gt; Advanced -%26gt; Environment Variables (at the bottom). Then under either your user name or for all users, you will find Path listed in the variable list. Select Path and click Edit. This is a list of directories separated by ";". Just add what you need to the end.





From the command prompt (only for that session): The syntax you want to use is the following. If you have a space in the directory to add, use quotes but otherwise they aren't needed:





set path=%path%;"c:\program files\reflection"








You can check the current path from the command prompt with:


echo %path%


No comments:

Post a Comment