ddnet/docs/tool/NaturalDocs.bat

17 lines
338 B
Batchfile
Raw Normal View History

2008-08-02 08:21:29 +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=