I am new to Window Batch file and would like some help. So I have a program (Val3dity) that run in Command Line.
For a single file, here is what I do in the command line mode.
val3dity c:…\abc.gml –report c:…\report_folder\abc.json
It will read abc.gml and output a report name abc.json.
Since I have hundreds of models, I would like to write a batch file so that it can run all the (.gml) and output all the reports to a desitation folder.
For my data, I have a main folder, with many subfolders in it. In each of the subfolder, there is a file with extension (.gml). May I ask how can I read the files and output the files with the same name?
Here is what I try
@For %%i IN (C:\...\CityGML\*.gml) (DO val3dity (*.gml) --report (C:\...\report_folder\*.json))
May I ask what I am missing or what I did wrong?