> > FILE.folder(WINDOW("exefullpath","=powerpro"))
> 
> Hi David, thanks, that expression returns the *installation* folder
> (pprofolder). But I'm insterested in the *running* folder 
> (currentdir).
> Probably on your PC those 2 folders coincide, if you run 
> powerpro from a
> shortcut that sets the start folder to the installation folder. 

Here, that returns the path to where powerpro.exe is located (isn't that the
function of file.folder()? ) .

I have my powerpro.exe in:
C:\dave\ppro\powerpro.exe
And my pcf file (pprofolder) in:
C:\dave\ppro\configs\dave\dave.pcf

You sure that expression doesn't work for you? Testing here I changed the
folder names of powerpro (moving my powerpro folder around to different
paths) and that function continually gave me the path to where powerpro.exe
was located (with the command
win.debug(FILE.folder(WINDOW("exefullpath","=powerpro"))) to verify results)
Note that if you replace the =powerpro with any running program name, it
should give you the location to where that program is located. Try it...open
notepad and run again with =notepad and see it report your system32 path
(for win 2K/XP).

David Troesch  |  Atlanta, GA  |  ICQ# 2333123
Powerful Backup and Folder Synchronization http://www.syncback.com
Funstuff: Stop! Think! There must be a harder way to do this! 



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

Attention: PowerPro's Web site has moved: http://www.ppro.org 
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