Okay, now use this:
PHP Code:
define('PHPDIG_PARSE_MSWORD','C:\\\\appserv\\\\www\\\\catdoc\\\\catdoc.exe');
and stick this back in:
PHP Code:
// it can have _PDF or _MSWORD or _MSEXCEL depending on binary
$command = PHPDIG_PARSE_MSWORD.' '.PHPDIG_OPTION_MSWORD.' '.$tempfile2.' 2>&1';
and keep the code that is there, and reindex.