|name of example file: test.txt|
@echo off & goto :aaa
debug test.txt < %0.bat
this eliminates overhead of having to read/re-write the file
(i think). at any rate, careful test advised (use dummy data).
also assuming the target is not a .exe or otherwise technical file.
(oops, got the swap backwards.. edited to fix)