--- Hakki wrote:

> I asked a related question a couple of days ago but looks like it never got
> to the list: How do you set the working directory in a script? Say you want
> to launch an app from a script, how do you set its CWD?

You would use one of the following syntaxes within a script:

Do("Program.exe", "Parameters", "C:\\Working Directory")
"Program.exe" Parameters!`C:\Working Directory

Personally I would opt for the Do() syntax since it has a much clearer
format and you are bound to run into less problems if for example, the
program's name has spaces in its path and you don't properly double-
quote it all and such...

-- 

Alex Peters / Melbourne, Australia
PowerPro v3.8.15 / Windows XP



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
     [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/
 

Reply via email to