Adding files to startup (Works on all users). You can use this to add programs to start up using a batch file. Code:
reg add HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run /v test /t reg_sz /d C:\Program Files\test.bat
That will create a registry key called test which will run test.bat on start up.
Tags: Adding files to startup (Works on all users), batch, file, run, on, start, up, startup, registry, keys, regkeys, how, to