Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

simple command line error

 [1/3] from: rasmussen:bryan::gmail at: 27-Nov-2005 13:18

Why does this: REBOL[ Title: "test.r" ] argsstring: to-string system/script/args print argsstring lead to none being output with this input from the windows cmd.exe test.r testing

 [2/3] from: antonr::lexicon::net at: 28-Nov-2005 0:55

What version of rebol are you using ? What does your command line look like, more precisely ? (include rebol.exe and arguments as you typed them.) Anton.

 [3/3] from: greggirwin::mindspring::com at: 27-Nov-2005 12:29

Hi Bryan, br> lead to none being output br> with this input from the windows cmd.exe br> test.r testing Windows doesn't pass the args along in that case, i.e. via the file association launch. You need to specify the target EXE with the script and its args as the args to that target. c:\rebol\view\rebol.exe cmd-line-test.r Testing If you encap your script, it will work as you expect. -- Gregg