summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
Diffstat (limited to 'win')
-rw-r--r--win/mkd.bat19
-rw-r--r--win/rmd.bat19
2 files changed, 38 insertions, 0 deletions
diff --git a/win/mkd.bat b/win/mkd.bat
new file mode 100644
index 0000000..61a66b8
--- /dev/null
+++ b/win/mkd.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
+md %1
+if errorlevel 1 goto end
+
+:success
+echo created directory %1
+
+:end
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