I believe I have found the problem. PSPad is looking for the "TiDy.exe" program
in the Current Working Directory and not in the "C:\Program Files (x86)\PSPad
editor" directory where PSPad is installed.
I tried the Shortcut that the PSPad installer creates in Start > All Programs >
PSPad editor and that one works ("Check HTML Code" is NOT grayed) because it
sets the "Start in" directory to "C:\Program Files (x86)\PSPad editor".
I then copied that shortcut to my desktop and it still worked.
I then changed the "Start in" directory in the shortcut to "C:\", and the "Check
HTML Code" is now grayed. So apparently, PSPad is not looking for "TiDy.exe" in
the "C:\Program Files (x86)\PSPad editor" directory, but is using the current
working directory instead.
Unfortunately, the context menu shortcuts that the PSPad installer creates in
Windows Explorer do not set the current working directory, so when you invoke it
on an HTML file via the "PSPad" context menu, the "Check HTML Code" option is
not available.
Note: I also tried running "C:\Program Files (x86)\PSPad editor\pspad" directly
from the command line with the same results. It only finds TiDy if my current
working directory is "C:\Program Files (x86)\PSPad editor".
This appears to be a regression in version 4.5.9 of PSPad, because when I test
it with version 4.5.4 it always finds TiDy.exe ("Check HTML Code" is NOT grayed)
regardless of the current working directory. (I haven't tested the versions of
PSPad in between those two).
--
<http://forum.pspad.com/read.php?4,63673,65076>
PSPad freeware editor http://www.pspad.com