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

[REBOL] Re: Windows: Shortcut to scripts

From: greggirwin:starband at: 5-Oct-2001 11:25

Hi Robert, << I'm tyring to use Windows' linking feature to create a shortcut to a script and specifying a directory the script should be executed in. I want to use this because the file-request should display the "start in directory" contents. But this doesn't work, instead the file-requester displays the contents of the directory where the script is in. Any idea? >> I'm not clear on how you're attacking the problem. Are you trying to create a lnk file yourself, or are you trying to emulate Windows shortcuts with pure REBOL? Having not tried this, would it work to use change-dir to set the working directory and then execute the script with a fully qualified path, or is that what you're doing now? --Gregg