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

 

 

 


The information contained in this mail message is confidential and may also be  legally  privileged.  If you  are not  the intended recipient, please note that  any use,  dissemination, further distribution, or reproduction of this message in any form what so ever, is strictly prohibited.  If the mail is in error, please notify me by return email, delete your copy of the message, and accept my apologies for any inconvenience caused.