Windows Explorer Tips

Automatically Refresh File Lists
Change the value of UpdateMode in HKLM\System\CurrentControlSet\Control\Update from 01 to 00.

Display Thumbnails - Windows Explorer
To display icons that show thumbnails of the actual images, change the default value of HKCR\Paint.Picture\DefaultIcon to "%1".

Hide Files from View
To hide certain file types from appearing in Explorer, open HKCR\ .ext key where .ext is the file type to hide. Note the file type listed in the contents pane. Find the matching entry under HKCR and add this string value: NeverShowExt with a value of "". For example, to hide bitmap files find HKCR\ .bmp. The file type is Paint.Picture. Locate this under HKCR and add the above string value.

Customizing Folder Options Dialog
To customize the wording or settings that appear in the Folder Options dialog, drill down to the desired folder under HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder. You can change the wording by changing the Text property as well as the Checked and Default values.

Removing Start and Explorer Menu Options
Many of the options on the Start menu and in Explorer can be removed. To delete the option shown below, add the indicated Dword registry setting, with a value of 1, to HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

Start Menu Option

Registry Setting

Documents

NoRecentDocsMenu

Favorites

NoFavoritesMenu

Run

NoRun

Shut Down

NoClose

Log Off

NoLogOff

Settings | Control Panel

NoSetFolders

Settings | Printers

NoSetFolders

Settings | Taskbar & Start Menu

NoSetTaskbar

Settings | Folder Options

NoFolderOptions

Settings | Active Desktop

NoSetActiveDesktop

Settings | Windows Update

NoWindowsUpdate

* deleting all settings options deletes the Settings option itself

Explorer Menu Option

Registry Setting

Tools | Find

NoFind

To remove the following Find Menu options delete the indicated subkey from HKLM\Software\Microsoft\CurrentVersion\Explorer\FindExtensions

Find Menu Option

Registry Subkey

Computer

ShellFind

Files or Folders

ShellFind

On the Internet

Static\InetFind

On the Microsoft Network

Static\MSMFind

People

Static\WabFind

Your Own Context Menu Item
When you right click a file in Explorer you can have your application appear on the popup context menu by adding these registry settings:

    Add this key    
        HKCR\*\Shell\Open_With_MyApp

    and set its Default value to:
        Open With MyApp

    Add this key    
        HKCR\*\Shell\Open_With_MyApp\Command

    and set its Default value to the full path to you application. Example:
        x:\Path\MyApp.Exe %1

    Where MyApp is the name of your application.

Use Different Icon for Each Folder - Windows Explorer
You can do this with IE4 or later. Open the folder whose icon you want to change. Choose View | Folder Options, click the View tab, make sure Show all Files is selected under Hidden Files. Edit the Desktop.ini file with Notepad. If it doesn't exist, create it. Add the lines below. IconFile= is the path of the file whose icon you want to display. Many files have more than one icon. IconIndex specifies the number of the icon (they start at 0). To view various icons you can use, view the properties of any shortcut and click the Change Icon button. When you are done save your file. You must also make your folder a system folder. Select Run form the Start menu. Type ATTRIB +s "<path>" where <path> is the path of the folder you are customizing. Hit OK. Now view your new icon in Explorer (press F5 to refresh Explorer if it was already running).

[.ShellClassInfo]
    IconFile=C:\Windows\system\shell32.dll
    IconIndex=0

Using Command Line Switches
You can have Explorer open and look the way you want and display the folder you want. Just use the following command line switches. Note that there are a few cases documented in the Knowledge Base where they do not work.

Explorer [/n] [/e] [,/root,object] [[,/select],subobject]

neither /n nor /e

Start Explorer in single pane mode. If the new window would duplicate an existing Explorer window, activate the existing window.

/n

Start Explorer in single pane mode. Start a new window even if it duplicates an existing Explorer window. Override /e if its present.

/e

Start Explorer in two pane mode. Start a new window even if it duplicates an existing Explorer window.

subobject

Specify the drive or folder to open.

/select, subobject

Specify the file or folder that will be initially selected. Its parent folder will be opened.

/root,object

Specify the root of the Explorer display. The user cannot navigate upward past the root. By default the Desktop is the root.

So to get Windows XP to display folders like it does in Win2K, create a shortcut with the Target field set to Explorer /e,C:\.

Windows ME Slide Shows
You can use Windows ME Slide Show feature to displays a continuous series of images. Just copy your images (in .bmp, .jpg, .gif or .tif format) to a new folder. Rename your images in alphabetical order to control the order in which they are displayed. Right-click and empty portion of the folder and choose Customize This Forlder. Click Next, select Customize, check the Choose or edit an HTML template for this folder, click Next again then select Image Preview, click Next and Finish.

To start the slide show, open the folder and click the underlined slideshow text in Explorer's upper left corner. Slides advance automatically. However, click anywhere on the screen to advance them manually. Move the mouse and press any key to display a VCR like set of controls.


About TheScarms
About TheScarms


Sample code
version info

If you use this code, please mention "www.TheScarms.com"

Email this page


© Copyright 2016 TheScarms
Goto top of page