Which leads to the obvious rule:  NEVER leave a space in a name, whether a file
name or a variable name.  Java (and other languages) just don't like it.
Especially in a CLASSPATH.

SDG
jco

[EMAIL PROTECTED] wrote:

> Hi,
>
> There's an essay by Eric S. Raymond entitled "How to ask questions the
> smart way" which I'd refer you to, but unfortunately the site seems to
> be down at the moment.
>
> In any case, this would have been easier if you showed us what you
> tried and what happened, rather than saying "it simply doesn't work."
> I am forced, therefore, to guess.
>
> Anyway, it's just like programming in many other languages; strings
> are in double quotes, and backslashes, which have special meaning,
> should be doubled. So did you try
>
>         (batch "C:\\Wherever\\my test.clp")
>
> That should work fine. If you've neglected to double the backslashes,
> or neglected to enclose the path in double quotes, then you'll indeed
> get a "file not found" error. If the file is in the current directory,
> you can dispense with the full path, and just write
>
>         (batch "my test.clp")
>
> Anyway, if you think you're doing the right thing but the wrong thing
> is happening in response, then please show use precisely what you did
> and what happened.
>
> I think Y.Lei wrote:
> [Charset iso-8859-1 unsupported, filtering to ASCII...]
> > Dear all,
> >
> > I am new to Jess. Now I am using it in my application. This is a very na_ve
> > question. How can I access the file which has space characters in its name?
> > I have read the batch function carefully. It says that we can just use
> > double quote to enclose the space character. But it simply doesn't work.
> > Maybe I misunderstood the meaning. For example, my file name is "my
> > test.clp", how can I let the jess recognize the file name?
> >
> > Thanks
> >
> > yuangui
> >
> >
>
> ---------------------------------------------------------
> Ernest Friedman-Hill
> Distributed Systems Research        Phone: (925) 294-2154
> Sandia National Labs                FAX:   (925) 294-2234
> PO Box 969, MS 9012                 [EMAIL PROTECTED]
> Livermore, CA 94550         http://herzberg.ca.sandia.gov
>
> --------------------------------------------------------------------
> To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
> in the BODY of a message to [EMAIL PROTECTED], NOT to the list
> (use your own address!) List problems? Notify [EMAIL PROTECTED]
> --------------------------------------------------------------------

--
SDG
jco

---------------------------------
James C. Owen
Senior KE
Knowledgebased Systems Corporation
6314 Kelly Circle
Garland, TX   75044
972.530.2895

--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to