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

[REBOL] Re: Tom Colin's auto run script

From: tomc:darkwing:uoregon at: 13-Sep-2003 10:14

On Sat, 13 Sep 2003, John-Harbaugh wrote:
> Tom: > > I ran the following 4 lines of code (one at a time of course) > and got the error "** Script Error:" listed at the bottom, for all of them? > > #!/rebol/rebol -sq --do "do" > > #!/rebol/rebol -sg --do "do %test_con_2.r"
the -sg is a typo shebang lines "#!" are for the top of scripts executed in a shell enviroment in a shell enviroment I would use a shell script. #!/rebol/rebol -sq rebol[] do
> /rebol/rebol -sq --do "do" > > /rebol/rebol -sg --do "do %test_con_2.r" >
I use lines such as these in WindowsXP Shortcut's Properties/Target they work fine. here is one pasted from a shortcut on my desktop C:\rebol\view\rebol.exe -sq --do "do" I would be suprised if that is the only place this construct worked