Skip to content

Instantly share code, notes, and snippets.

@KeyC0de
Created November 21, 2020 13:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KeyC0de/b00da830ae251489c893142f6508b410 to your computer and use it in GitHub Desktop.
Save KeyC0de/b00da830ae251489c893142f6508b410 to your computer and use it in GitHub Desktop.
@echo off
reg add HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run /v nameAsItWillAppearInTheRegistry /t reg_sz /d C:\Path\to\executable.bat/or.ex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment