Thanks Alan, wOOdy and Michael
I am going to try wOOdy's suggestion first and see where that takes me. Can anybody confirm what happens (and what the relevant registry entries are) when double-clicking on an SCX, an FRX and a VCX (not all at the same time <g>)?
Many thanks, again
Paul
-----Original Message----- From: ProfoxTech profoxtech-bounces@leafe.com On Behalf Of Alan Bourke Sent: 08 January 2022 15:15 To: profoxtech@leafe.com Subject: Re: Problem trying to run a Powershell script as an Explorer shell command (Fox related)
Paul
For me double-clicking a PJX in Windows also opens VFP9 with the project file open and ready.
When I examine the .pjx entry using FileTypesMan (https://www.nirsoft.net/utils/file_types_manager.html) the registry key is:
HKEY_CLASSES_ROOT\Visual.FoxPro.Project\shell\open\command
and the value is a REG_SZ equal to
"C:\Program Files (x86)\Microsoft Visual FoxPro 9\vfp9.exe" -SHELLOPEN "%1"
HTH
-- Alan Bourke alanpbourke (at) fastmail (dot) fm
[excessive quoting removed by server]