summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--win/mkd.bat20
-rw-r--r--win/rmd.bat20
2 files changed, 40 insertions, 0 deletions
diff --git a/win/mkd.bat b/win/mkd.bat
new file mode 100644
index 0000000..9e1c073
--- /dev/null
+++ b/win/mkd.bat
@@ -0,0 +1,20 @@
+@echo off
+rem SCCS: %Z% $Id: mkd.bat,v 1.1 1998/07/01 18:32:09 escoffon Exp $
+
+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..588da5d
--- /dev/null
+++ b/win/rmd.bat
@@ -0,0 +1,20 @@
+@echo off
+rem SCCS: %Z% $Id: rmd.bat,v 1.1 1998/07/01 18:32:09 escoffon Exp $
+
+if not 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