Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: REG ADD with a .bat
07-02-2008, 02:14 AM #1
- Join Date
- Jul 2008
- Thanked 0 Times in 0 Posts
REG ADD with a .bat
Hey all, well im kind of new to all this stuff and i was just wondering how i could get a .bat file to put a .exe program into the Reg so it would start it upon logging on to the computer? i have the code and all but when ever i try it, it wont work, can someone give me an example of how it should look?
REG ADD [ROOT\]RegKey /v ValueName [/d Data] [/f]
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run REG ADD %KEY% /V CGA /D “C:\Docume~1\Totenmaske\Desktop\Tidefu~1\CGA2.exe” /f
Last edited by totenmaske; 07-02-2008 at 05:36 AM.