Computing.Net > Forums > Windows XP > Registry in batch file

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.

Registry in batch file

Reply to Message Icon

Name: kiwi_hk
Date: March 10, 2005 at 17:29:23 Pacific
OS: Windows XP
CPU/Ram: 256
Comment:

Hi

I have some registry changes in my batch file when a user login, I just want to make it automatic even if the registry key cannot be run. I have tried putting /y at the end.

How do I do it.

Thanks

Ken



Sponsored Link
Ads by Google

Response Number 1
Name: HiJinx
Date: March 10, 2005 at 18:09:38 Pacific
Reply:

If you're importing a .reg file, try /s. ie

regedit /s c:\somefolder\regfile.reg


0

Response Number 2
Name: kiwi_hk
Date: March 14, 2005 at 17:03:31 Pacific
Reply:

Done that but still getting the ok windows. The message is actually an error importing registry. I just don't want it to pop up with the ok prompt.

Ken


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


enabling usb 2.0 system restore



Post Locked

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


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Registry in batch file

difference b/w %%g and %g% in batch file www.computing.net/answers/windows-xp/difference-bw-g-and-g-in-batch-file/176113.html

BATCH FILES IN XP? www.computing.net/answers/windows-xp/batch-files-in-xp/8304.html

Strings in Batch Files www.computing.net/answers/windows-xp/strings-in-batch-files/100025.html