Computing.Net > Forums > Programming > batch file make .reg

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.

batch file make .reg

Reply to Message Icon

Name: djas
Date: November 26, 2004 at 14:35:40 Pacific
OS: Windows XP Pro SP2
CPU/Ram: P4 2.40 GHZ 256 RAM
Comment:

hi im trying to make a batch file that makes a .reg file but its not going as i planned this is what i have so far, can you tell me what im doing wrong.

echo Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"ccRegVfy"="C:\\Program Files\\Common Files\\Symantec Shared\\ccRegVfy.exe"
"Advanced Tools Check"="C:\\PROGRA~1\\NORTON~2\\AdvTools\\ADVCHK.exe"
"Symantec NetDriver Monitor"="C:\\PROGRA~1\\SYMNET~1\\SNDMon.exe"
"ccApp"="\"C:\\Program Files\\Common Files\\Symantec Shared\\ccApp.exe\""
"SSC_UserPrompt"="C:\\Program Files\\Common Files\\Symantec Shared\\Security Center\\UsrPrmpt.exe" >> 1.reg

thanx

djas



Sponsored Link
Ads by Google

Response Number 1
Name: IVO
Date: November 27, 2004 at 09:55:04 Pacific
Reply:

You have to Echo EACH line of your .reg text so

Echo Windows Registry Editor Version 5.00> 1.reg
Echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]>> 1.reg

and so on...

Obviously each line fits just one row without CR/LF

I'm surprised your batch knowledge is still so poor after your eavy posting on this Forum!



0

Response Number 2
Name: djas
Date: November 28, 2004 at 08:55:18 Pacific
Reply:

cheers for that, and my batch knowledge isnt that bad its just i hadn't used this task for quite while
thanx again

djas


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: batch file make .reg

Batch File to Make another Batch www.computing.net/answers/programming/batch-file-to-make-another-batch/15043.html

self destruct batch file ? www.computing.net/answers/programming/self-destruct-batch-file-/17288.html

Set file associations from a batch file??? www.computing.net/answers/programming/set-file-associations-from-a-batch-file/19592.html