Jump to content

Change Mode

Add The Print Directory Option For File System Folders


Recommended Posts

1. Click Start, type Notepad. Right-click Notepad and choose Run as Administrator.


2. Copy the following text to Notepad:


@echo off

dir %1 /-p /o:gn > "%temp%\Listing"

start /w notepad /p "%temp%\Listing"

del "%temp%\Listing"



3. Click File, Save (CTRL+S), mention the file name/path as %windir%\printdir.bat and press ENTER. The file printdir.bat is now saved to the Windows folder.


4. Download printdir_vista.reg:




5. Save printdir_vista.reg to Desktop, right-click and choose Merge. (If you are prompted for an administrator password or confirmation, type the password or provide confirmation.)


If you only want to view the file contents, and don't want to send it to the printer, change the 3rd line in step 2. from start /w notepad /p "%temp%\Listing" to start /w notepad "%temp%\Listing".

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...