mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
16 lines
163 B
Batchfile
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
|