summaryrefslogtreecommitdiffstats
path: root/win/mkd.bat
diff options
context:
space:
mode:
authordavygrvy <davygrvy@pobox.com>2001-11-10 10:38:47 (GMT)
committerdavygrvy <davygrvy@pobox.com>2001-11-10 10:38:47 (GMT)
commit801283c38e66a43623f1b09a8c6baaf2a7277dab (patch)
treee17441a16f9fbafdfa202900eb474a3f5073d911 /win/mkd.bat
parent4801a4a703fd7faff54f4361646cd421880b8396 (diff)
downloadtcl-801283c38e66a43623f1b09a8c6baaf2a7277dab.zip
tcl-801283c38e66a43623f1b09a8c6baaf2a7277dab.tar.gz
tcl-801283c38e66a43623f1b09a8c6baaf2a7277dab.tar.bz2
* win/makefile.vc: Added a check to make sure one runs the makefile
from the /win directory only. * win/mkd.bat: * win/rmd.bat: Changes from Llyod Lim for better stability. [Patch #456759]
Diffstat (limited to 'win/mkd.bat')
-rw-r--r--win/mkd.bat15
1 files changed, 3 insertions, 12 deletions
diff --git a/win/mkd.bat b/win/mkd.bat
index 690a29b..70edd40 100644
--- a/win/mkd.bat
+++ b/win/mkd.bat
@@ -1,21 +1,12 @@
@echo off
-rem RCS: @(#) $Id: mkd.bat,v 1.7 2001/09/08 23:52:02 davygrvy Exp $
+rem RCS: @(#) $Id: mkd.bat,v 1.8 2001/11/10 10:38:47 davygrvy Exp $
-if exist %1\. goto end
+if exist %1\nul goto end
-if "%OS%" == "Windows_NT" goto winnt
-
-md %1
-if errorlevel 1 goto end
-
-goto success
-
-:winnt
md %1
if errorlevel 1 goto end
-:success
-echo created directory %1
+echo Created directory %1
:end