10/30/2005

Tip: Customize Windows Explorer View

Filed under: — By Aviran Mordo @ 1:02 pm

Windows explorer is one of the most useful tools in Windows. But if you are like me and don’t like the default view of Windows explorer, and want for instance that every time you open Windows Explorer it fill focus on D:\ you can easily customize it to your own needs.

You can use the following switches with the Explorer.exe command.

  • /n - Opens a new single-pane Window for the default selection. This is usually the root of the drive on which Windows is installed.
  • /e - Starts Windows Explorer using its default view.
  • /e, - Starts Windows Explorer using its default view with the focus on the specified folder.
  • /root, - Opens a window view of the specified object.
  • /select, - Opens a window view with the specified folder, file or program selected.

In order to user your own customize Windows Explorer simply create a new shortcut with the appropriate parameters.

  • Right click the location you want to create the new shortcut (your desktop for example)
  • In the context menu select New->Shortcut
  • In the location name field type %windir%\Explorer.exe /e,c:\. You can change the parameters to anything you like (see some examples below)
  • Click Next
  • Type Windows Explorer in the name field (You can type any other name you like)
  • Click Finish

You can now drag this shortcut to anywhere you want (I like to put it on the quick launch bar)

Here are some examples:

  • Explorer /n - This command opens an Explorer window using the default setting. This is usually the root of the drive on which Windows is installed.
  • Explorer /e - This command starts Windows Explorer using the default view.
  • Explorer.exe /e,D:\ - This command starts Windows Explorer with focus on drive D:\
  • Explorer /e,C:\Windows - This command starts Windows Explorer using the default view, with the focus on C:\Windows.
  • Explorer /root, C:\Windows\Cursors - This command starts Windows Explorer at the C:\Windows\Cursors folder. This example uses C:\Windows\Cursors as the “root” directory for Windows Explorer.

    NOTE: Note the comma after the “/root” switch in the command.

  • Explorer /select, C:\Windows\Cursors\banana.ani - This command starts Windows Explorer with the “C:\Windows\Cursors\banana.ani” file selected.

    NOTE: Note the comma after the “/select” switch in the command.

  • Explorer /root, \\server\share, select, Program.exe
    This command starts Windows Explorer using the remote share as its “root” folder, along with the Program.exe file selected.

 

Leave a Reply

You must have Javascript enabled in order to submit comments.

All fields are optional (except comment).
Some comments may be held for moderation (depends on spam filter) and not show up immediately.
Links will automatically get rel="nofollow" attribute to deter spammers.

Powered by WordPress