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:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* 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
Go Back   Tech Support Forum > The IT Pro > Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Programming A discussion forum for programs and programming used in tech-related businesses.

Reply
 
LinkBack Thread Tools
Old 07-30-2008, 03:51 AM   #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"
Seems really damn simple to me... yet when I run it, it tells me that it has updated the registry but nothing changes!

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:
Welcome back, ediblespread, there have been 702,529 posts and 112,653 threads since your last visit at 08:59 PM, 05-23-2007


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.
ediblespread is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
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

Old 07-30-2008, 04:52 AM   #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
ediblespread is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-30-2008, 07:34 AM   #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.
ediblespread is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -7. The time now is 11:53 AM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85