summaryrefslogtreecommitdiff
path: root/tcl/win/mkd.bat
blob: c7598eb9fe634ab2236a0f36afca79c5ac56ead8 (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$

if exist %1\. 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

:end