Hello,

       I am trying to use the batch command to read a file, but I get the following error.

Jess> (batch D:\WrittenPrograms\Application\KBRules\rules.clp)


Jess reported an error in routine batch
        while executing (batch D:WrittenProgramsApplicationKBRulesrules.clp).
  Message: Cannot open file.
  Program text: ( batch D:WrittenProgramsApplicationKBRulesrules.clp )  at line
36.
Nested exception is:
D:WrittenProgramsApplicationKBRulesrules.clp (The system cannot find the file sp
ecified)
java.io.FileNotFoundException: D:WrittenProgramsApplicationKBRulesrules.clp (The
 system cannot find the file specified)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:103)
        at java.io.FileInputStream.<init>(FileInputStream.java:66)
        at java.io.FileReader.<init>(FileReader.java:39)
   ! ;     at jess.Batch.batch(Unknown Source)
        at jess.Batch.call(Unknown Source)
        at jess.ei.a(Unknown Source)
        at jess.Funcall.execute(Unknown Source)
        at jess.Jesp.a(Unknown Source)
        at jess.Jesp.case(Unknown Source)
        at jess.Jesp.parse(Unknown Source)
        at jess.Main.execute(Unknown Source)
        at jess.Main.main(Unknown Source)

could you tell me what I am doing wrong.

thanks

Richard.



Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site

Reply via email to