Hi Mat,
you can set it directly from REBOL, you don't need a .bat file:
>> old-dir: what-dir
== %/C/Program%20Files/REBOL/view/
>> change-dir %"/C/Program Files/Microsoft Office/Office"
== %/C/Program%20Files/Microsoft%20Office/Office/
>> call/wait "winword.exe"
== 0
>> change-dir old-dir
== %/C/Program%20Files/REBOL/view/
--
Michal Kracik
Mat Bettinson wrote:
>
> Hello,
>
> If you were using Call to launch an application, what might be the
> best way to launch this with Windows considering that the directory
> where the application lies is the "Start in" location? IE the current
> directory.
>
> I guess you could hack it by running a shell with a bat file that CDs
> there. I was thinking they'd be something more elegant.
>
> (I've only used Call to launch EXEs which I've put in the Rebol path
> before)
>
> --
> Mat Bettinson - EuroGamer's Gaming Evangelist with a Goatee
> http://www.eurogamer.net | http://www.eurogamer-network.com
>
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.