Christof wrote:
>if you like to check this, I would be very happy.
I've atleast started to look at it. I haven't figured it all out yet nor
have I had time to test my theory. But I can't actually see anything
directly that's wrong. Perhaps this is a problem in Arachne? Netscape for
instance asks "Repost form data?" if you reload a page created through a
form, strangely enough on many pages Netscapes asks me this even without
reloading.
>The DGI line is:
>
>file/kontrola.dgi >HTM|$1\\\ncall otazky\\kontrola.bat $e$2 $s
>
>The $S1\ command makes sure that the program does not run on the RAM
>drive where Arachne is installed, but on the drive where the pages
>and the batch file exist.
This isn't correct. It could for instance be (without quotes)
"c:\somdir\somefile", but that makes no sense in DOS (atleast MS-DOS
complains).
Using $e$2 is also not correct since you don't know that $2 is in refrence
to $e (for instance $e = "c:\arachne" and $2 = "d:\cache\12345678.htm".
You'll need something like this:
file/kontrola.dgi >HTM|call $1\otazky\\kontrola.bat $1 $e $2 $s
And then use $e (the new %2) for using the correct directory, an
alternative would be to split it into drive and directory. But you'll need
to read some advanced batch documents first, and it will not work in MS-DOS
7.x or 8.x (but I think it works in NT). You can also use $1 in the same
way if you think you need it. You are also close to encountering the "two
long string for DOS to handle" problem :(
>It is part of some teaching material. I am building this site for
>reading offline, so far. Start at the page lekce02.shtml, if you
>answer the question correctly you should be admitted to
>lekce03.shtml.
There's of course the problem that I only know (from the top of my head)
three words in czech. Luckily I can figure out which is correct and which
isn't since yes and no are two of the words. You'll need to thank Michael
for that ;-)
BTW: When you copy a file to a new name you should add "/b" so that copy
doesn't screw it up in case it's a binary file. Strangely enough this bug
doesn't show itself if you keep the name intact.
//Bernie