Can't install or run programs from NTs command shell

Hits: Failed to execute CGI : Win32 Error Code = 3


Everything seems to work until you go to the commandline. Programs just seem to not run from the commandline. Batch files might not work. Even the new window shell scripts don't seem to work when run from the commandline. This functionality is dependent (in part) on having a proper PATHEXT value. This reg_sz registry value should have something like .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH. The full registry key path is

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment.

If the PATHEXT value is missing or has no values, fix it and reboot. You can get the correct values from other working PCs in your office.