Alan Martin wrote:

> If I start PowerPro from a Windows shortcut whose "Start in:"
> field is blank, some of my menus don't work. Specifically:
> *Menu Folder shortcuts/printers
> *Menu Folder shortcuts/admintools
> make empty menus.

I think it happens because you're using relative paths.
Change those commands to
*Menu Folder &(pprofolder++?"shortcuts\printers")

and you'll be able to start powerpro from another folder as you please.
As a matter of fact, I start powerpro from the command line, from lots
of different folders, without any problems, since I don't use relative
paths in *Menu Folder commands. 

I do use relative paths in things like Icon= list properties. PowerPro
resolves them relative to pprofolder, I think, not to currentdir. But
*Menu folder, I think is resolved relative to currentdir. 

I have a good reason for wanting to know powerpro's currentdir; it's
validpath (or file.validpath). 

I discovered that validpath (relative_path) returns 1 when relative_path
is in powerpro's currentdir. The issue is that one doesn't know where
currentdir is! -- unless, of course, uses one of the methods listed in
this thread, such as making powerpro the active window, or running cmd
to find out, etc. I think that those solutions get the job done but are
"expensive" or "less than ideal". I wish I had a window("currentdir",
caption) available. I think a script shouldn't rely on the fact, of
fiction, who knows?, that powerpro isn't changing dir while it's
running. 



------------------------ 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