File: mdhelper.bat

package info (click to toggle)
allegro4.2 2:4.2.0-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 24,436 kB
  • ctags: 14,714
  • sloc: ansic: 126,425; asm: 17,011; cpp: 3,846; sh: 2,120; objc: 925; makefile: 715; python: 216; pascal: 179; perl: 73
file content (14 lines) | stat: -rw-r--r-- 265 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
:: Used by makefile.all's create-install-dirs target.

@echo off

:loop
if [%1] == [] goto :end
if not exist %1\nul mkdir %1
if errorlevel 1 goto :end
:: FreeDOS doesn't seem to support errorlevel.
if not exist %1\nul goto :end
shift
goto :loop

:end