Suggestion required for editing a .bat script

Can anyone tell me how can i edit a .bat script so that when it is executed for the first time it automatically places itself in startup folder of Windows and from next system startup it should work automatically? Here i dont want to create a script in startup folder of windows.

I think that you can’t except make a script that edits registry or some windows certificates… :thinking:

Pretty simple, just add the registry in windows so that .bat script automatically runs on next boot.

Adding a registry could be done using command line
This is the command:

reg add HKCU\Software\Microsoft\Windows\CurrentVersion\Run /v script_name /t REG_SZ /d "full_path_of_script.bat"