Well itís finally good to see you!

Welcome to the forums. We like new folks around here, so since you're not registered yet, why donít you drop us a little note so we can get to know you?

We will be more than happy to show you more of our tight little community once we know who you are.

Go Back > General > Tech Support
User Name
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Thread Tools
Old 04-11-2015, 04:24 PM   #1
[AOS] Somerlot
The Duke of Stan
[AOS] Somerlot's Avatar
Join Date: Nov 2008
Location: San Diego
Posts: 1,249
Send a message via MSN to [AOS] Somerlot
Default Print Directory "Folder" Contents

Just thought I throw this up here in case some of you are need of this.

I used to use a command prompt and manually perform a DIR to get a nice list of contents in a folder. The KB above will allow you to do the same with 2 mouse clicks.

After following the instructions, when you right click a folder in Windows you will have a "Print Directory Contents" option.

By defeault the file goes to:
With no file extension.

You can edit the .bat file to specify an explicit location and file name.
"C:\Listing.txt" instead of "%temp%\Listing"

You can also change the parameters of the DIR. To get a list of options, open a CMD prompt and type:
"Dir /?"
Then change the parameters in the .bat file's "DIR" command with what you want.

I am not sure the purpose of the DEL command in the .bat. On my computer it deletes the listing file and doesn't keep it open. I have removed the DEL line so I can save the listing file on my computer.

If you want it to display full paths of each file use /s /b together. Thist will also list the files in subdirectories.
C:\wally\Browser Cache

Last edited by [AOS] Somerlot; 04-11-2015 at 04:58 PM.. Reason: Spelling
[AOS] Somerlot is offline   Reply With Quote
Old 04-11-2015, 10:27 PM   #2
Join Date: Jan 2011
Location: Flatland USA
Posts: 1,141

Linux is so much easier: tree ./

Of course there are options that you configure it with to get different looks and information.
Fysiks is offline   Reply With Quote
Old 04-16-2015, 02:47 PM   #3
[AOS] Somerlot
The Duke of Stan
[AOS] Somerlot's Avatar
Join Date: Nov 2008
Location: San Diego
Posts: 1,249
Send a message via MSN to [AOS] Somerlot

Oh yeah. I remember a while back I was brushing up on my linux server use, and it was so much easier to do things, that I was over thinking lol.
[AOS] Somerlot is offline   Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -6. The time now is 09:20 PM.

vBulletin Version 3.8.8
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.