ddnet/docs/doctool/NaturalDocs.bat

17 lines
338 B
Batchfile
Raw Normal View History

2007-05-22 15:06:55 +00:00
@echo off
set NaturalDocsParams=
rem Shift and loop so we can get more than nine parameters.
rem This is especially important if we have spaces in file names.
:MORE
if "%1"=="" goto NOMORE
set NaturalDocsParams=%NaturalDocsParams% %1
shift
goto MORE
:NOMORE
perl NaturalDocs %NaturalDocsParams%
set NaturalDocsParams=