icecom4
asked on
.reg script to add registry string
How can I convert this batch line to a .reg file instead?
reg add "HKLM\SOFTWARE\Microsoft\W indows NT\CurrentVersion\AppCompa tFlags\Lay ers" /v "C:\Windows\SysWOW64\PnkBs trA.exe" /t REG_SZ /d "VISTASP1 RUNASADMIN" /f
reg add "HKLM\SOFTWARE\Microsoft\W
ASKER
yes, please, if you don't mind.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
What oBdA states is true, If you have more entries in this key other than the one you wish to add, my method would capture those as well.
I chose this method because I made the assumption that you would only be running Punk Busters in compatibility mode. If you have other programs that are running in compatibility mode, their registry entries would also be captured, and I should have forewarned against that just in case.
Thanks for pointing out my error oBdA.
:o)
Bartender_1
I chose this method because I made the assumption that you would only be running Punk Busters in compatibility mode. If you have other programs that are running in compatibility mode, their registry entries would also be captured, and I should have forewarned against that just in case.
Thanks for pointing out my error oBdA.
:o)
Bartender_1
ASKER
Thank you for teaching me that!!!!
Hope this helps!
:o)
Bartender_1