Skip to content

Instantly share code, notes, and snippets.

@tt
Created July 16, 2012 16:33
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 tt/3123644 to your computer and use it in GitHub Desktop.
Save tt/3123644 to your computer and use it in GitHub Desktop.
Self-modifying batch file
You can use this for all sorts of crazy. It seems it will continue at the exact character position where it left, so you can both prepend and append stuff while it's running.
@echo off
echo Hello
echo echo World >> hello.bat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment