Answer
A possible reason for this issue can be due to the Windows system environment variable called PATHEXT. By default, .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
are configured.
What this variable does is allow commands to be executed without needing to add the extension to them.
For example, PM2, which runs with PAS, has a file extension of .CMD, so when executing PM2 in a command line you just need to type PM2
instead of the full name PM2.CMD
.
If .CMD is not in the PATHEXT environment variable, then just typing PM2
would return a command not found error, and you would need to use the full PM2.CMD
for it to work.
To fix the issue, ensure the following:
Open Control Panel > All Control Panel Items > System
Select Advanced System Settings
Select Environment Variables
Under System Variables double-click PATHEXT
Add to the end of the current string
Restart Prizm Application Services