Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New to the CF scene
    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]
    that is what i'v started with but im not sure im doing it right i have done this..

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts