Customize a single file folder:
- Browse to the folder using explorer
- In the menu select View and Customize Folder
- In the Wizard select Choose or edit an Hyper Text Markup Language (HTML) template for this folder
- Press Next and choose the Standard-template and tick I want to edit this template
- Press Next and open the default-template in your default HTML editor where you can change what ever you like
- In the folder a hidden file desktop.ini is created, which refers to the modified template
- Use the above steps to open the default-template in your default HTML editor
- Search for the string function IsMovieFile
function IsMovieFile(ext) {
var types = ",asf,avi,m1v,mov,mp2,mpa,mpe,mpeg,mpg,mpv2,qt,asx,";
var temp = ","+ext+",";
return types.indexOf(temp) > -1;
} - Change the function so it will not recognize any file as a movie file:
function IsMovieFile(ext) {
return false;
var types = ",asf,avi,m1v,mov,mp2,mpa,mpe,mpeg,mpg,mpv2,qt,asx,";
var temp = ","+ext+",";
return types.indexOf(temp) > -1;
} - Save the changes to the template file and now media preview of movie files should be turned off for that folder.
- Browse to the customized folder using explorer
- In the folder open the hidden file desktop.ini using notepad
- Find the text-line PersistMoniker to see the folder containing the customized htt-file (The folder is relative to the C-Drive)
- Browse to the folder %Windir%\Web and make a backup of the default template folder.htt
- Browse to the folder containing the customized htt-file and copy it to %windir%\Web so it overwrites folder.htt
More Info MS MSDN: Extending Explorer Views by Customizing Hypertext Template Files
More Info MS MSDN: Customizing a Folder's Web View
More Info MS MSDN: Customizing Folder icon with Desktop.ini
Leave a Reply