stop previewing mpegs in explorer

  • Thread starter Thread starter Rob
  • Start date Start date
Hi Carrie,

Thanks alot, I edited folder.htt so that IsMovieFile() returns 0. Is there a
similar way I could choose to preview or not based on file size? My problem
is that explorer struggles with larger movie files. Thanks again for your
help,

Rob
 
Hi Rob,

Glad to know that you were able to edit the "folder.htt so that IsMovieFile() returns
0". Especially since my September 06, 2003 11:22 AM failed to explain the steps
properly :-\

To correct my September 06, 2003 11:22 AM post for lurkers and the archives: If
C:\WINNT\Web\folder.htt has never been customized, and for all versions of Windows
2000, following the steps under the section "Second choice:" should work. All of the
rest of the post deals with folder.htt files that were previously customized using
the Customize This Folder Standard template.

Now about your question "Is there a similar way I could choose to preview or not
based on file size?". I am not sure and do know know how to code using JavaScript.
Perhaps you can find an answer to your question from the following Web Sites:

VP Surgery for Windows Web Site
[VP} - Window(s) webview-Scripting
http://www.virtualplastic.net/html/wv_scr.html

Webmonkey programming javascript
http://hotwired.lycos.com/webmonkey/programming/javascript/

--
Carrie Garth, Microsoft MVP for Windows 2000
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- c x g

: "Rob" <[email protected]>
: Wrote in message : Sent: Saturday, September 06, 2003 12:27 PM
: Hi Carrie,
:
: Thanks alot, I edited folder.htt so that IsMovieFile() returns 0. Is there a
: similar way I could choose to preview or not based on file size? My problem
: is that explorer struggles with larger movie files. Thanks again for your
: help,

:| "Carrie Garth (MVP)"
:| Wrote in message :| Sent: Saturday, September 06, 2003 11:22 AM
:|
:| Yes, I know of a way to prevent Web View Previews for files with the extension
:| mpeg. To disable preview for all folders you will need to edit the Global
:| HyperText template that is used for Web View: C:\WINNT\Web\folder.htt. The method
:| you use to edit the template depends on what version of Microsoft Windows 2000 you
:| are running.
:|
:| For Microsoft Windows 2000 Professional, SP1 and SP2:
:|
:| - Logon as a user in the Administrators group
:| - If necessary change your Explorer view options as follows:
:| Control Panel > Folder Options > View [tab]:
:| Select: "Show hidden files and folders"
:| Uncheck: "Hide file extensions for known file types"
:| Uncheck: "Hide protected operating system files (Recommended)"
:| - Use notepad to open C:\WINNT\Web\folder.htt
:| - Use the find command to find: function IsMovieFile(ext)
:| - Right below the function is the "var types = " line. From this line delete
:| mpeg, [that is delete mpeg and the comma]
:| - Save and Close the file
:|
:| For Microsoft Windows 2000 Professional SP3 and SP4 you have two choices.
:|
:| First choice: Apply the fix in the following Microsoft Knowledge Base Article and
:| then use the same steps given above.
:|
:| KB819028 - Windows Explorer No Longer Displays Web View Templates or HTML
:| Customizations (Using Folder.htt)
:| http://support.microsoft.com/?scid=819028
:|
:| Second choice:
:|
:| - Logon as a user in the Administrators group
:| - If necessary change your Explorer view options as follows:
:| Control Panel > Folder Options > View [tab]:
:| Select: "Show hidden files and folders"
:| Uncheck: "Hide file extensions for known file types"
:| Uncheck: "Hide protected operating system files (Recommended)"
:| - Create a temporary folder
:| - Right-click in the file list control area of the temporary folder and choose
:| Customize This Folder. Click Next. Make certain that "Choose or edit an HTML
:| template for this folder" is selected and click Next. Make certain that
:| "Standard" is selected for template, select the option that reads "I want to edit
:| this template"
:| and click Next.
:| - Use the find command to find: function IsMovieFile(ext)
:| - Right below the function is the "var types = " line. From this line delete
:| mpeg, [that is delete mpeg and the comma]
:| - Save and Close the file
:| - Click Finish
:| - Open the hidden folder just created by the Customize This Wizard named "Folder
:| Settings" which contains the customized folder.htt that you just modified
:| - Copy and Paste this customized folder.htt into the C:\WINNT\Web folder
:| (you may want to make a backup of the original folder.htt first).
:|
:| Please repost if you have any question.
 
Back
Top