JSI Tip 10189. Thumbnails of Office 2003 documents do not appear in Windows 2000 Explorer?

When you view an Office 2003 document as a thumbnail in Windows 2000 Explorer, a blank square with the Office 2003 program icon appears instead of the thumbnail of the Office 2003 document.

This behavior will occur if the Office 2003 Setup program removed registry entries under the ShellEx key.

I have scripted FixOfficeShellEx.bat to resolve this issue.

The syntax for using FixOfficeShellEx.bat is:

FixOfficeShellEx .PPT \[.DOC .XLS ...\]

Where the argument list are those office document extensions that exhibits this behavior.

NOTE: FixOfficeShellEx.bat use REG.EXE, installed from the Windows 2000 Support Tools.

To workaround this problem:

1. Close all Office 2003 programs.

2. Run FixOfficeShellEx .PPT \[.DOC .XLS ...\]

FixOfficeShellEx.bat contains:

@echo off
setlocal
if \{%1\}

\{\} goto err :again if \{%1\}

\{\} endlocal&goto :EOF set ext=%1 set ext=%ext:"=% if "%ext:~0,1%" NEQ "." goto err @echo Repairing %ext% reg add "HKCR\%ext%\ShellEx\\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1\}" /VE /T REG_SZ /F /D "\{9DBD2C50-62AD-11d0-B806-00C04FD706EC\}" shift goto :again :err @echo Syntax: FixOfficeShellEx .PPT \[.DOC .XLS ...\] endlocal



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish