joojant200
asked on
Setting path
Hello,
How to make registry key to permanently set path for some dos program to run from command prompt from everywhere?
How to make registry key to permanently set path for some dos program to run from command prompt from everywhere?
My computer --->Properties--->Advanced ---> environment variable --->system variable ---> path then edit
ASKER
-------------------------- ---------- ---------
This is the registry key that stores the path
HKEY_LOCAL_MACHINE\SYSTEM\ ControlSet 001\Contro l\Session Manager\Environment
Path=
-------------------------- ---------- ----
How can I make reg key, to import to registry, path for example c:\epi6 ?
If I understand correctly set path is only temporarly till first restart? Then this does't do the job?
I know where to set path mannualy on my computer, but need registry key to set on other computer with one click on it.
This is the registry key that stores the path
HKEY_LOCAL_MACHINE\SYSTEM\
Path=
--------------------------
How can I make reg key, to import to registry, path for example c:\epi6 ?
If I understand correctly set path is only temporarly till first restart? Then this does't do the job?
I know where to set path mannualy on my computer, but need registry key to set on other computer with one click on it.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
When I import maked regystry key, I lose all old thing in path, only this imported work?
Is it possible to keep old path and with importing regiristry key to add new path, at end old path?
Is it possible to keep old path and with importing regiristry key to add new path, at end old path?
HKEY_LOCAL_MACHINE\SYSTEM\
Path=
You can also set the path using the control panel
Control Panel>System>Advanced Tab>Environment Variables>System Variables>Path>Edit
or you could place a batch file in your startup folder
set path=%path%;c:\temp
<--- this adds c:\temp to the existing path