Looks like a dos path issue
     
     If I run a batch file from my rebol directory
     rebol test.r
     
     it works fine
     
     from another directory I run
     c:\rebol\rebol test.r
     
     and I just get the command prompt
     
     if I run
     cd c:\rebol
     rebol test.r
     
     it again works
     
     terry


______________________________ Reply Separator _________________________________
Subject: [REBOL] Running from batch file? Re:(2) 
Author:  <[EMAIL PROTECTED]> at internet
Date:    14/02/2000 21:02


>> How do you start rebol & program from batch file?
>
>I've tried REBOL/View with a batch file and it works fine. Here's what's
>inside the batch file:
>
>"C:\Program Files\REBOL\View\REBOL.EXE" %ChorusLine.r

I'm trying to do with with Core 2.2.0.3.1.

I've tried these variations, while being in the same
directory as rebol.exe:

rebol dns.r
rebol %dns.r
"rebol.exe" %dns.r
"rebol.exe" dns.r"

while being in a different directory:

"C:\REBOL\Rebol.exe" %dsn.r
"C:\REBOL\Rebol.exe" dsn.r

they all just go to the ">>" prompt.

Can type them manually and they work fine.

BTW, is the "%" required on the command line?  Seems to work
with or with-out it.


Reply via email to