reading text file in jess rule engine

106 views Asked by At

I have created a script.txt file for retail ontology which is a user input file. I need to run this file using batch command in jess. When I run the following command

batch script.txt

in the jess console of protege 3.5 i get the following error.

Jess reported an error in routine batch
while executing (batch script.txt).
Message: Cannot open file.
Program text: ( batch script.txt )  at line 1.
Nested exception is: script.txt (The system cannot find the file specified)

I also tried to specify the path where the script.txt file is located but still the same error exists.

0

There are 0 answers