Hi Richard
Many thanks for your reply. I haven't used Environment Manager much but that's definitely an approach to consider. I really don't want to create shortcuts for PJXs that I only open rarely on an ad hoc basis (as opposed to those that I am actively working on).
It's still frustrating that the Command=Do Startup in Config.FPW seems to get bypassed when double-clicking on a PJX - but perhaps that's just the way it is.
Paul
On 09/05/2022 13:51, Richard Kaye wrote:
I never open VFP by using Explorer so hard to say what’s happening. I’d check the help for the precedence on how config.fpw gets picked up but otherwise you can create shortcuts to your PJXs and force a specific file by using the -c switch.
I’m also a big (maybe the only) fan of Environment Manager in VFP. I have it set to run on startup and from there I can just pick which thing I need to work on, and have it set up the full environment, including associated projects.
--
rk
From: ProfoxTechprofoxtech-bounces@leafe.com On Behalf Of Paul Newton Sent: Sunday, May 8, 2022 1:20 PM To:profoxtech@leafe.com Subject: Config.FPW command ignored when double-clicking on PJX in Explorer
Hi all
I have a folder containing a PJX, Config.FPW, Startup.PRG, StartThor.PRGand StartHackCX.PRG
Config.FPW contains "Command=Do Startup.PRG" Startup.PRG contains: Do StartThor.PRG Do StartHackCX.PRG
The problem is that none of these commands executes when double-clicking on the PJX in Windows Explorer (or other file manager), even though Sys(2019) points to the Config.FPW in the folder in question.
Any ideas or is this just the way it works?
Paul Newton
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html
Post Messages to:ProFox@leafe.commailto:ProFox@leafe.com Subscription Maintenance:https://mail.leafe.com/mailman/listinfo/profoxhttps://protect-us.mimecast.com/s/_D1tCmZ2nYc6r9DSQYdLC?domain=mail.leafe.com OT-free version of this list:https://mail.leafe.com/mailman/listinfo/profoxtechhttps://protect-us.mimecast.com/s/PLKTCn5YogIxYkjiErj7J?domain=mail.leafe.com Searchable Archive:https://leafe.com/archiveshttps://protect-us.mimecast.com/s/wP_fCo2v0jh80QZiW6qzg?domain=leafe.com This message:https://leafe.com/archives/byMID/e00103e5-86e5-3183-e573-8eef461c3ed7@gmail....https://protect-us.mimecast.com/s/1FWTCpYRqkuyB7Ktkkj56?domain=leafe.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious. _______________________________________________ Post Messages to:ProFox@leafe.com Subscription Maintenance:https://mail.leafe.com/mailman/listinfo/profox OT-free version of this list:https://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive:https://leafe.com/archives This message:https://leafe.com/archives/byMID/MN2PR10MB3407AA978451BA49085220BCD2C69@MN2P... ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---