create a batch file from batch file
REM Create batch file with required instructions or commands
echo timeout /t 6 > C:temptemp_file.bat
echo del "dir O:MINE" >> C:temptemp_file.bat
echo ^(goto^) 2^>1 ^& del "%%~f0" >> C:temptemp_file.bat
timeout /t 3
REM Execute the newly created batch file
start /b cmd /c call "C:temptemp_file.bat"