Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Ok, here is my problem. I have created a batch file that places a registry key in
HKLM,Software\Microsoft\Windows\CurrentVersion\Run
However, the problem is, is that I want a BATCH file to run when the pc reboots, not an executable file. Is this possible? I got a .exe file to run when I put a reg key in the HKLM,Software\Microsoft\Windows\CurrentVersion\Run
But when I change the key to run a BATCH file on startup, it doesn't execute the batch file. Can you please help...Below I have included the batch file incase you need to see if Im messing it up or something.
*****************
BATCH FILE
*****************
@ECHO OFF
echo [version] >> norton.inf
echo signature = "$CHICAGO$" >> norton.inf
echo [DefaultInstall] >> norton.inf
echo AddReg = add.reg >> norton.inf
echo [add.reg] >> norton.inf
echoHKLM,Software\Microsoft\Windows\CurrentVersion\Run,"winmine.exe",,"C:\I386\winmine.exe" >> norton.inf
rundll32.exe setupapi,InstallHinfSection DefaultInstall 132.\norton.inf
*********************************
THANKS FOR YOUR HELP!

![]() |
Inputbox question
|
Java- Autofinding date
|

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