In Windows 7 if I run
where <path_to_vbs_file> is a plain VBScript file on the main NTFS, it works fine.
If I mount an ISO with DaemonTools Lite, and run the same command pointing to an identical VBScript file in that ISO, it also works.
If I mount the ISO with pfm mount, and run the same command pointing to an identical VBscript file, under c:\volumes\etc, it fails with
Cscript Error: Execution of the Windows Script Host failed.
(The system cannot find the file specified)
This is probably a problem with Cscript, not pfm mount per se, as I can run most other stuff from the mounted ISO, but it would be nice to understand what’s going on, to be able to work around it.