how to delete files with a batch fil 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