To install this program, find the latest release in the releases section and download the .EXE file.
Next, run the file and select a location where the program should be extracted to.
For example: C:\Borit-Froelich-XML-CSV-Converter
The program is now installed to the system.
You can run it by hand, or using the Task Scheduler (taskschd.msc)
You can run the program by hand using a terminal like PowerShell or cmd.
Running C:\Borit-Froelich-XML-CSV-Converter\Converter.CLI.exe --help will show you the options required to run the program.
To convert a bunch of XML files to CSV, the program needs 2 options:
- Source directory
- Destination directory
Your source directory is located at C:\input and your output directory is located at C:\output.
You would then run the following command: C:\Borit-Froelich-XML-CSV-Converter\Converter.CLI.exe -s C:\input -d C:\output
The options -s and -d stand for source and destination correspondingly.
Start by opening the Task Scheduler (Win+R -> taskschd.msc).
Next, create a new task.
- Open the
Generaltab. - Give this task a meaningful name.
- If needed, under security options, change the user to run this program as, remember to set the user as allowed to the input and output directory as well.
- Under security options, select
Run whether user is logged on or not - Open the
Triggerstab. - Create a new trigger.
- Set
Begin the tasktoOn a schedule. - Choose the required trigger time and don't forget to set it to daily/weekly/monthly, else the task will only run once.
- Check the box
Repeat task everyif you need it to run multiple times a day. - Make sure to
Enablethe trigger. - Click on OK.
- Open the
Actionstab. - Add a new action.
- Set
ActiontoStart a program. - Set
Program/scriptto the install location and the executable calledConverter.CLI.exe. - Add the arguments
-sand-dto specify the input and output directories. Example:-s C:\input -d C:\output. - Save the task.
You're done!
The software should now be automatically invoked by the task scheduler in the time frame you have chosen.
This software is licensed under the MIT license.