Computing.Net > Forums > Disk Operating System > batch file and right granting on registr

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 and right granting on registr

Reply to Message Icon

Name: chris
Date: July 17, 2002 at 01:56:19 Pacific
Comment:

Hi,

I am looking at a way to create a batch that would grant the full control over two registry keys.
I cannot find a function that would allow me to do so.
my batch so far is :

regedit4
secedit hkey_current_user\software -f
secedit hkey_classes_root -f
exit
it does not seem to work .....can someone help !

Big Thanks



Sponsored Link
Ads by Google

Response Number 1
Name: Secret_Doom
Date: July 17, 2002 at 11:26:47 Pacific
Reply:

What do you mean by "full control over two registry keys" ? With REGEDIT.EXE, you can export, import and delete keys on the registry.

Export:
REGEDIT /E FILENAME REGPATH

Import:
REGEDIT /C FILENAME

Delete:
REGEDIT /D REGPATH

That information was obtained running REGEDIT.exe under DOS 7.10a.

-- Leonardo Pignataro - Secret_Doom --

secret_doom@hotmail.com
www.batch.hpg.com.br


0
Reply to Message Icon

Related Posts

See More


I want to purchase IBM PC... boot drive



Post Locked

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


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: batch file and right granting on registr

Batch files and system memory? www.computing.net/answers/dos/batch-files-and-system-memory/2820.html

Read batch file and write in a Text www.computing.net/answers/dos/read-batch-file-and-write-in-a-text/16653.html

Batch file to run on log off! www.computing.net/answers/dos/batch-file-to-run-on-log-off/14751.html