bat self destruct code example
Example: How to run batch file and dellete it
@echo off
set mypath=%cd%
start %mypath%\filename here
del %mypath%\batcfilename.bat
exit
@echo off
set mypath=%cd%
start %mypath%\filename here
del %mypath%\batcfilename.bat
exit