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

[REBOL] Re: Windows: Shortcut to scripts

From: robert:muench:robertmuench at: 8-Oct-2001 12:12

> -----Original Message----- > From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]On Behalf Of > Gregg Irwin > Sent: Saturday, October 06, 2001 8:09 PM > To: [rebol-list--rebol--com] > Subject: [REBOL] Re: Windows: Shortcut to scripts > I don't know either. Maybe REBOL changes to the scripts directory itself. As > another workaround, you could add the working directory to the Target of the > shortcut: > > C:\Rebol\rebol.exe c:\rebol\gregg\read-cur-dir.r //rebol > > and then in your script you could change directories yourself: > > change-dir to-file dirize system/script/args > > Not what I would call elegant, but not too painful either.
Hi, well why not ;-). Just to be sure I understand it correctly. I'm adding the start-in directory as script-argument, right? So I have: rebol.exe script arguments Hm... I'm going to try it out. Robert