how to delete a batch file with commands code example
Example 1: How to run batch file and dellete it
@echo off
set mypath=%cd%
start %mypath%\filename here
del %mypath%\batcfilename.bat
exit
Example 2: deleting everything inside a folder using batch
del Example