Answers for "create a batch file from batch file"

0

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"
Posted by: Guest on January-19-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language