Skip to content

Instantly share code, notes, and snippets.

@tnhung2011
Created July 29, 2024 14:25
Show Gist options
  • Save tnhung2011/2ded911de324cdde364520d3d8246913 to your computer and use it in GitHub Desktop.
Save tnhung2011/2ded911de324cdde364520d3d8246913 to your computer and use it in GitHub Desktop.
@echo off
prompt [$P]^
$$$S
@echo on
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor]
"AutoRun"="call path\\to\\file.bat"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment