summaryrefslogtreecommitdiffstats
path: root/win/mkd.bat
blob: f9f3eaf5e74588ee0f6d6e672ba3b2d43136fa7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@echo off
rem RCS: @(#) $Id: mkd.bat,v 1.4 2001/09/08 22:34:42 mdejong 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