mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-18 12:24:22 -05: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
|