I've created a new file type containing spaces and have specified the open command for it:
assoc .php="PHP Script" ftype "PHP Script"="c:\program files (x86)\php\php.exe" -f "%1" -- %~2
So far so good, but now I'm unable to check which command is used to open files of this type:
ftype "PHP Script" File type 'PHP' not found or no open command associated with it.
I've tried using the caret symbol, to no effect. How do I get ftype to accept spaces for retrieving the command currently in use?