summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorescoffon <escoffon>1998-07-01 18:04:01 (GMT)
committerescoffon <escoffon>1998-07-01 18:04:01 (GMT)
commit2f293ae32ffb26a2c129b2fd212d6604db9a0e0d (patch)
tree1e3b94575510764bdc6ef8869dea8098583394bd
parenta1ba6819992c6e968b8e5f36c37523f6966e1250 (diff)
downloadtcl-2f293ae32ffb26a2c129b2fd212d6604db9a0e0d.zip
tcl-2f293ae32ffb26a2c129b2fd212d6604db9a0e0d.tar.gz
tcl-2f293ae32ffb26a2c129b2fd212d6604db9a0e0d.tar.bz2
Initial revision
-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