Skip to content

Instantly share code, notes, and snippets.

@tt tt/README

Created Jul 16, 2012
Embed
What would you like to do?
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
Hello
World
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.