rem makereg.bat if not "%1"=="" goto Start @echo off echo Windows batch file to generate message header field registry files echo -------- echo Usage: makesurvey [-c] file echo -c compile survey description to Notation3 echo file is name of source file to generate survey echo .n3 assumed; output is .xml and .html echo -------- goto :Exit :Start set hugsdir=C:\DEV\Hugs98 set runhaskell=%hugsdir%\runhugs-20040109 set reportcompiler=%runhaskell% D:\Cvs\DEV\CompileRDF\RepToRDF.hs set reportgenerator=D:\Cvs\DEV\PythonN3\N3GenReport.py set cwm=C:\DEV\W3C\Swap1144\cwm.py :Next if "%1"=="" goto Exit if "%1"=="-c" goto Compile %reportgenerator% -i iTrustSurveyFormatter.n3,%1.n3 -v path=. -r surv:MakeSurvey shift goto next :Compile %reportcompiler% -i=iTrustSurveyFormatter.rep -o=iTrustSurveyFormatter.n3 rem %cwm% --n3=i iTrustSurveyFormatter.n3 > iTrustSurveyFormatter-cwm.n3 shift goto next :Exit