Computing.Net > Forums > Programming > reg.exe problem

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

reg.exe problem

Reply to Message Icon

Name: dudecybetron
Date: February 21, 2004 at 07:07:58 Pacific
OS: win xp
CPU/Ram: 128
Comment:

hi,

i use reg.exe to update my registry.but there seems to be some problem with it.

assume the below command line

reg add hkey_current_user\control panel\don't load /v timedate.cpl /t reg_sz /d no /f

when i issue the above command it replies

"too many parameters". use the i found out the prob;em for this.in the above command line there is space between control and panel and another space between don't and load.when i remove this space the command gets executede successfully.but u c i want to make change in the key
"control panel" and not "controlpanel".is there a way to add a value to this key without getting any error?




Sponsored Link
Ads by Google

Response Number 1
Name: drigz
Date: February 22, 2004 at 03:55:16 Pacific
Reply:

what's happening is that the space in between control and panel is interpreted as a gap between parameters, and so the hkey_current_user/control is separated from the panel/.... to fix this, just put the hkey.... in "", which will make it be interpreted as one parameter.



0

Response Number 2
Name: dudecybetron
Date: February 24, 2004 at 07:39:37 Pacific
Reply:

hi,

thanx drigz.



0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: reg.exe problem

I got a problem with C#'s csc.exe www.computing.net/answers/programming/i-got-a-problem-with-cs-cscexe/11364.html

Bat + reg = 1 bat file help!!! www.computing.net/answers/programming/bat-reg-1-bat-file-help/9468.html

script problem www.computing.net/answers/programming/script-problem/8396.html