Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


Every Folder Click Opens New Window

  • Please log in to reply
2 replies to this topic

#1 P1pe


  • Members
  • 4 posts
  • Local time:07:08 PM

Posted 12 October 2007 - 11:36 AM

Okay, I was "tweaking" my xp sp2 OS. I used the following hack:

First, you need to create a batch file called Printdir.bat. Open Notepad or another text editor and type (or cut and paste) this text:

@echo off
dir %1 /-p /o:gn > "%temp%\Listing"
start /w notepad /p "%temp%\Listing"
del "%temp%\Listing"

Now, in the Save As dialog box, type "%windir%\Printdir.bat" (without the quotation marks) and click the Save button.
Click Start, Control Panel, Folder Options.
Click the File Types tab, and then click File Folder.
Click the Advanced button.
Click the New button.

In the Action box, type "Print Directory Listing" (without the quotation marks).

In the Application used to perform action box, type "Printdir.bat" (without the quotation marks).

Click OK in all three dialog boxes to close the dialog boxes.

You're not quite finished yet! Now you need to edit the Registry, so open your favorite Registry Editor.

Navigate to HKEY CLASSES ROOT\Directory\shell.

Right click on "default" and select Modify.
In the File Data box, type "none" (without the quotation marks).

Click OK and close the Registry Editor.

Now when you right click a folder, you'll see the option to Print Directory Listing. Selecting it will print the contents of the folder.

... which worked okay, and still does. But then, after a while, I noticed a problem: when I opened a directory -- my documents, for instance -- and I began to drill down through the sub folders, everything opened in a new window. I had about 25 darned windows open!
Then I did something stupid and tried to correct it myself. Here's what I did:
  • Opened windows explorer
  • Got into Folder options, then File types
  • Selected the first "File Folder" Icon I came across
  • Clicked on "Advanced"
  • Clicked on "New"
  • For "Action" I typed "Open"
  • For "Application" I selected Explorer.exe
...This cured nothing.
Also in the "Folder Options/General" tab, under "Browse Folders," I have "Open each folder in the same window" selected.

What do I gotta do to get this back to the way xp opens folders normally?

BC AdBot (Login to Remove)


#2 garmanma


    Computer Masochist

  • Members
  • 27,809 posts
  • Gender:Male
  • Location:Cleveland, Ohio
  • Local time:07:08 PM

Posted 12 October 2007 - 01:57 PM

The person in this forum had the same problem and they offered a link for a program that solved the issue
Post number 6
Posted Image
why won't my laptop work?

Having grandkids is God's way of giving you a 2nd chance because you were too busy working your butt off the 1st time around
Do not send me PMs with problems that should be posted in the forums. Keep it in the forums, so everyone benefits
Become a BleepingComputer fan: Facebook and Twitter

#3 P1pe

  • Topic Starter

  • Members
  • 4 posts
  • Local time:07:08 PM

Posted 12 October 2007 - 02:19 PM

Thank You! Garmanma. All is well, now. :thumbsup:

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users