![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Programming A discussion forum for programs and programming used in tech-related businesses. |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | |
|
Registered User
Join Date: May 2007
Posts: 5
OS: Win XP
|
.reg file doesn't change anything!
Hey there. I'm trying to edit the registry on a computer using a .reg file, as the task it's needed for will eventually go out to alot of people in my company, so will need to be simple for them ;). Anyway, this is my reg file:
Code:
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Today] "Url"="\\dellserv\userdata\temp staff 1\My Documents\Outlook Today\outlooktoday.html" I can manually edit the registry myself, and it works, but I cant get this damn thing to do it automatically. Any help much appreciated. -Edibles PS: It's been a while... :P Quote:
EDIT: Okay. This is random. I can make the value of Url something random, like "ashfja" and it'll appear... but it wont do the above. I tried removing spaces and replacing them with "_"'s - didn't work. I'm at my wits end here =/ Last edited by ediblespread; 07-30-2008 at 04:21 AM. |
|
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
Registered User
Join Date: May 2007
Posts: 5
OS: Win XP
|
Re: .reg file doesn't change anything!
Okay, nevermind. I fixed it. Damn thing has to do with all the backslashes. Actually, it still doesnt work as our my documents exist on a server that begins with "\\", and I can't get it to create "\\" (triple "\"s just go to 1 still), but that doesnt matter as we've just changed the location instead XD.
-Edibles |
|
|
|
|
|
#3 (permalink) |
|
Registered User
Join Date: May 2007
Posts: 5
OS: Win XP
|
Re: .reg file doesn't change anything!
New problem for you all!
How can I use %appdata% in a reg file? It just doesn't... work. Only way I can think is to use a language to find out what %appdata% is, open up the .reg, swap in the address and then run the .reg. Which is overly complex. And which I have no idea how to do. Fun. ^^ Or can I reference other registrys at all? Cause if I could that would work... -Edibles EDIT2: Gosh, you lot are useless ;). I'm just soaring over these brick walls now :P. Also, in case you didnt realise; I worked it out. Instead of a language, I simply use a batch file to write to a text file, then change the extension to a .reg, and run it. Awesomeness abound ^^ Last edited by ediblespread; 07-30-2008 at 08:02 AM. |
|
|
|
![]() |
| Thread Tools | |
|
|