Hi guys,
I have an issue which I hope someone can help.
I’m working on trying to use BaseX on the command line to create a database.
Below is an extract of the commands I’ve put into a batch file:
@ECHO SET CREATEFILTER *.xml> basex_auto_temp.txt
@ECHO CREATE DATABASE %db_name% %dest%>> basex_auto_temp.txt
"C:\Program Files (x86)\BaseX\bin\basex.bat" -c"C:\Temp\basex_auto_temp.txt"
I have no issues executing the batch file in a Windows Command Prompt and it created the database I expected correctly.
However, when I tried to execute the batch file from a C# Windows Forms application, for some reason, the database creation failed. It just didn’t create the database.
I just can’t figure out why and what’s the problem.
I would really appreciate the help.
Thank you
Glenn