Créer un fichier batch à partir du fichier batch
REM Create batch file with required instructions or commands
echo timeout /t 6 > C:\temp\temp_file.bat
echo del "dir O:\MINE" >> C:\temp\temp_file.bat
echo ^(goto^) 2^>1 ^& del "%%~f0" >> C:\temp\temp_file.bat
timeout /t 3
REM Execute the newly created batch file
start /b cmd /c call "C:\temp\temp_file.bat"
Tense Tarantula