Register    Login    Search    Articles & downloads     Who We Are    Donate    Jaylach Free Sites

Board index » Technical Forums » General Computing




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post Posted: Fri Oct 16, 2015 12:16 pm 
Offline
Resident Geekazoid Administrator
User avatar

Joined: Wed Mar 21, 2012 5:09 am
Posts: 9455
Location: The state of confusion; I just use Wyoming for mail.
Trying to print a directory listing can be a pain. This post will explain how to make it as simple as a right click on a folder.

This has been tested in Windows 7 and 10 but not 8.1.

Copy the following code and paste in Notepad. Notepad must be run as Admin. Make sure that you get all of it. The first line should read @echo off and the last line should read exit
Code:
@echo off
dir %1 /-p /o:gn > "%temp%\Listing"
start /w notepad /p "%temp%\Listing"
del "%temp%\Listing"
exit

Once the code is in note pad use Save as to save. Use exactly the following save path. Copy/paste the following to be safe. Yes, the '%' signs are needed.
%windir%\printdir.bat

Now just run the attached registry hack and you are good to go. Via Windows Explorer, File Explorer or Computer you can now right click on any folder and have the option to print the directory listing for that folder.

As a note this will only work on folders, not an entire drive. However you can select a group of folders.


Attachments:
printdir.reg [696 Bytes]
Downloaded 349 times

_________________
Image
Free sites from jaylach.com
I NEVER forget... I just remember late.
Top 
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 1 post ] 

Board index » Technical Forums » General Computing


Who is online

Registered users: Google [Bot]

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Similar topics


Jump to:  

cron