wrote:
>> > 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).
>
Hi David, everything you wrote is correct, but it isn't what I'm looking for.
I'm looking for the *current dir* of a program (=powerpro), not for the
installation folder (pprofolder).
Take cmd.exe for instance. It's installed in c:\windows\system32, I believe.
That's its installation folder.
Start it. Type "cd", it tells you its current dir. Not type "cd %TEMPT%",
ENTER, "cd". It tells you its current
dir again, which isn't the one it told you before. That's the info I'm looking
for. In the case of Powerpro, I
don't think (know), if we will ever experience the "cd %TEMP%" equivalent of
the example above, since
I don't think (know) that powerpro changes directory while it's running. But
definitely it can be started
from different folders, which means that the first "cd" of the example above
can return different values
--and they are unrelated to where powerpro is installed.
------------------------ 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/