summaryrefslogtreecommitdiffstats
path: root/win/rmd.bat
diff options
context:
space:
mode:
Diffstat (limited to 'win/rmd.bat')
-rw-r--r--win/rmd.bat19
1 files changed, 19 insertions, 0 deletions
diff --git a/win/rmd.bat b/win/rmd.bat
new file mode 100644
index 0000000..9772526
--- /dev/null
+++ b/win/rmd.bat
@@ -0,0 +1,19 @@
+@echo off
+
+if exist %1 goto end
+
+if %OS% == Windows_NT goto winnt
+
+echo Add support for Win 95 please
+goto end
+
+goto success
+
+:winnt
+rmdir %1 /s /q
+if errorlevel 1 goto end
+
+:success
+echo deleted directory %1
+
+:end