Command line execution & batching

Feb 25, 2016 at 9:03 PM
The GUI tool is v useful, but I'm trying to batch process multiple xml files, so need the command line version. At the command prompt using the syntax below just seems to open the GUI and wait for user input rather than processing payslip.xml. What am I doing wrong?
XmlToCsv.Console.exe -xml c:\payslip.xml -dir c:\convertedcsvfiles
Further, how can I then use this with a DOS 'for' command to process all *.xml files in my directory? An example of the line of script to be used in a .bat would be much appreciated. Thanks!
Oct 19, 2016 at 6:20 AM
Use the 1.5 version, 1.6 does not appear to have been compiled with the command line :(
Oct 20, 2016 at 3:00 AM
Just wanted to put this up here. I'm totally unfamiliar with .Net, so I hired a guy to bring the console version up to 1.6 and it works perfectly. Not sure how we can post a new .exe file, but I have one if someone can post it.