1.

Solve : CREATE A REGISTRY KEY WITH A BATCH FILE??

Answer»

Hey, I was wondering how, or even if, you can make a subkey in the HKCR registry section with a batch FILE.
I've tested a LOT of codes and have failed at them all, so I came here.

This does not work:
echo off
REG ADD "HKCR\batfile\shell\New Key" /F
exit


If I was trying to create the New Key in the CODE above, it wouldn't work.
I'm using Windows Xp OS with 20GB hard drive on PORT "E:\" with 3GB used up.
I don't want to create a seperate .reg file either.
Thanks for your help.                                                                  -NathansswellEDIT: The code above did work, I just needed to logoff to make it work. My new problem is that I need to find out how to edit the (Default) Value in the subkey with a batfile. Please help...
REG ADD "HKCR\batfile\shell\New Key" /F /ve /t reg_sz /d NewValue



Discussion

No Comment Found