diff options
author | escoffon <escoffon> | 1998-09-30 20:19:00 (GMT) |
---|---|---|
committer | escoffon <escoffon> | 1998-09-30 20:19:00 (GMT) |
commit | 5e674ce6194b24cecf0ad4ef5aaaf5c790451138 (patch) | |
tree | eaf94488b6b85c12498011c856e827df87fef7e1 /win/mkd.bat | |
parent | 482d5ce35c802162132e4eee4a59ff453f45f531 (diff) | |
download | tk-5e674ce6194b24cecf0ad4ef5aaaf5c790451138.zip tk-5e674ce6194b24cecf0ad4ef5aaaf5c790451138.tar.gz tk-5e674ce6194b24cecf0ad4ef5aaaf5c790451138.tar.bz2 |
Added support for Win95.
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 |