Add “Open in New Window” Option in Folders and Drives Context Menu in Windows



Recently one of our readers "CytoxX" asked us how can he add an option "Open in New Window" in folders context menu, so that whenever he right-clicks on a folder, he can get the option in the list.

In this tutorial, I'll tell you how to add "Open in New Window" option in folders as well as Drives context menu.

http://img.photobucket.com/albums/v374/vishaal_here/Open_in_New_Window_Option.jpg

Although you can open a folder or drive in new window by pressing "Ctrl" or "Shift" key while double-clicking on it but this trick no longer works in Windows Vista, Server 2008 and Seven.

In Windows Vista, Server 2008 and Seven, you can open a folder or drive in new window by right-clicking on it and selecting "Open" option. "Explore" option opens the folder or drive in same window but "Open" option opens them in a new window.

Now to add a separate option "Open in New Window" in folders and drives context menu, follow these simple steps:

1. Type regedit in RUN or Startmenu Search box and press Enter. It'll open Registry Editor.

2. Now go to following key:

HKEY_CLASSES_ROOT\Directory\shell

3. We'll need to create a new key under "Shell" key. Right-click on "Shell" key and select "New -> Key". Give the new key name of "Open in New Window" (without quotes). You can give any other name, the name you set here will be shown as the option label in context menu.

4. Now we'll need to create another new key. Right-click on the new key which we created in the last step e.g. Open in New Window and select "New -> Key". Give the new key name of command.

5. Now select "command" key and in right-side pane, you'll see "Default" String value. Change its value to:

explorer %1

6. Now go to following key:

HKEY_CLASSES_ROOT\Drive\shell

and follow steps 3-5 again for this key.

7. That's it. Once you set the value of "Default", you have done. Now right-click on any folder or drive and you'll get a new option "Open in New Window" which will open the selected folder or drive in a new window.

PS: If you want a ready-made script to do the task automatically, then download following ZIP file, extract it and then run the extracted REG file. It'll ask for confirmation, accept it:

Download Registry Script



This article was posted in Windows 7, Windows Vista, Windows XP.

Subscribe to RSS Feed | Email Newsletter | More Articles

Related Articles

Popular Articles



13 Comments

  • VG

    ^^ Check following topic and restore the default code:

    http://www.askvg.com/how-to-enable-view-menu-on-desktop-in-windows-xp/

  • Vishal, thanks for this -- second time in two days that a tutorial of yours has shown me a tweak i have wished for for some time. However, I'm having a problem with implementation. I succeeded in adding the item to the context menu, but when I click it, Windows (XP) acts as if I'm trying to open a file of unknown type. I get that dialog box requesting: "choose the program you want to use to open this file." Naturally, Windows Explorer is not among them, but I was able to browse to it. Unfortunately, I was NOT able to click the box that says "always use the selected program to open this kind of file," because it was grayed out.
    Please advise.

  • Vishal, please ignore my previous comment. I had made a typo while executing your instructions. Apologies. Thanks again.

Add a Comment

NOTE: If you can't see your comment, please be patient. It'll appear as soon as we approve it.


Create an avatar that will appear with your comment.