469,071 Members | 1,914 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,071 developers. It's quick & easy.

updating Path variable using .reg file

momotaro
357 100+
Hi everyone,

Am trying to update the system variable Path by adding a string to the already existing value using a .reg file.
I've been searching every where but in vein. If you have any idea please help.

thank you.
Jul 21 '13 #1
3 1426
Rabbit
12,516 Expert Mod 8TB
I don't believe .reg files have scripting capabilities. You will need to use a scripting language to read the current value, append the string you want, and write it back to the registry. Let us know which scripting language you want to use and I can move your question to that forum.
Jul 21 '13 #2
momotaro
357 100+
I maneged to add system variables using a reg file.
Anyway lets say .bat
Thx
Jul 22 '13 #3
Rabbit
12,516 Expert Mod 8TB
If by adding a system variable, you mean adding a new key to the registry, that is not the same as scripting.

We don't have a .bat forum so I will leave the thread here and hopefully someone that was done that will be able to answer your question.
Jul 22 '13 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

7 posts views Thread by NotGiven | last post: by
1 post views Thread by skeeterbug | last post: by
1 post views Thread by Samunderline | last post: by
1 post views Thread by iana_kosio | last post: by
4 posts views Thread by DEWright_CA | last post: by
1 post views Thread by Colmag | last post: by
2 posts views Thread by Divya Khullar | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.