windows-nt/Source/XPSP1/NT/sdktools/mtscript/nuke.bat

19 lines
363 B
Batchfile
Raw Normal View History

2020-09-26 03:20:57 -05:00
@echo off
echo Nuking all built files...
setlocal
set subdirs=. exe inc localobj proxy scripts scrhost util
for /D %%i in (%subdirs%) do rd /s /q %%i\objd
for /D %%i in (%subdirs%) do rd /s /q %%i\obj
del /q scripts\types.js >nul 2>nul
del /s /q *.log >nul 2>nul
if "%1" == "-q" goto :eof
if "%1" == "/q" goto :eof
echo Remaining files...
dir /b /S /a:-r-d