RetroShare/build_scripts/Windows-msys2/tools/remove-dir.bat
2018-08-07 20:18:56 +02:00

16 lines
163 B
Batchfile

:: Usage:
:: call remove-dir.bat path
if "%~1"=="" (
echo.
echo Parameter error.
exit /B 1
)
if exist %1 (
del /s /f /q %1 >nul
rmdir /s /q %1
)
exit /B 0