diff options
author | escoffon <escoffon@noemail.net> | 1998-09-30 20:18:59 (GMT) |
---|---|---|
committer | escoffon <escoffon@noemail.net> | 1998-09-30 20:18:59 (GMT) |
commit | 6a247d8a21bdfa9c003a95db63f428b2a2b112c1 (patch) | |
tree | eaf94488b6b85c12498011c856e827df87fef7e1 /win/mkd.bat | |
parent | 8f5e00db2b396bfc5acccf11236490b9f09c8ccd (diff) | |
download | tk-6a247d8a21bdfa9c003a95db63f428b2a2b112c1.zip tk-6a247d8a21bdfa9c003a95db63f428b2a2b112c1.tar.gz tk-6a247d8a21bdfa9c003a95db63f428b2a2b112c1.tar.bz2 |
Added support for Win95.
FossilOrigin-Name: dfca11e1c649506c8604024e1eea7fef478ff03e
Diffstat (limited to 'win/mkd.bat')
-rw-r--r-- | win/mkd.bat | 41 |
1 files changed, 21 insertions, 20 deletions
diff --git a/win/mkd.bat b/win/mkd.bat index 68e88f0..0f2ae76 100644 --- a/win/mkd.bat +++ b/win/mkd.bat @@ -1,20 +1,21 @@ -@echo off
-rem RCS: @(#) $Id: mkd.bat,v 1.2 1998/09/14 18:23:58 stanton 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
+@echo off +rem RCS: @(#) $Id: mkd.bat,v 1.3 1998/09/30 20:19:00 escoffon Exp $ + +if exist %1\tag.txt 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 TAG >%1\tag.txt +echo created directory %1 + +:end |