Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • December 06, 2016, 04:14:57 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Good Folder Printer  (Read 4432 times)

imtrobin

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 125
    • View Profile
    • Donate to Member
Good Folder Printer
« on: August 25, 2005, 01:57:19 AM »
Hi,

I've been looking through a few file/folder printer, and can't find one which does this. Basically, I want the output of the folders to be printed with indents eg.

If the folder structure is

 C:\Folder1\Folder2\Folder3\file.txt

Then the output file format (txt or html) looks something like

  C:\
       Folder1
           Folder2
              Folder3
                   file.txt

Anyone has a recommendation for such a program? Preferably freeware.


Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 7,986
    • View Profile
    • Dales Computer Services
    • Donate to Member
Re: Good Folder Printer
« Reply #1 on: August 25, 2005, 04:09:38 AM »
You could try http://www.karenware...ertools/ptdirprn.asp. I used this ages ago but haven't currently got it installed so can't remember exactly what or how it will print.

Karen has a lot of interesting programmes, all of which are free and you can download the source code too.

AbteriX

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 1,115
    • View Profile
    • Donate to Member
Re: Good Folder Printer
« Reply #2 on: August 25, 2005, 04:32:49 AM »
Open DOS-Box:

C:\>  tree   "Folder1"   >   DirList.txt


C:\PROGRAM FILES
├───3D GIF Designer
│   ├───Animations
│   │   ├───Banners
│   │   ├───Buttons
│   │   └───Logos
│   └───Pictures
│       ├───Presets
│       └───Textures
├───AHK_FileCreater
├───CLCL Ver 1.1.2 (11Feb2005)
│   ├───clcl112_eng
│   │   ├───User

Then open and print DirList.txt

HTH  :(
« Last Edit: August 25, 2005, 04:35:31 AM by Stefan »

imtrobin

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 125
    • View Profile
    • Donate to Member
Re: Good Folder Printer
« Reply #3 on: August 25, 2005, 11:49:15 AM »
Karen's tool didn't work. The dos tree command is cool. Thanks!

AbteriX

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 1,115
    • View Profile
    • Donate to Member
Re: Good Folder Printer
« Reply #4 on: August 25, 2005, 12:54:23 PM »
The dos tree command is cool. Thanks!
Fine  :)
Here is an tool how generates list of an folder containt:
Directory Lister from http://freeware.prv.pl
The version 0.7.2 was freeware, the new one is now shareware.

But thought this brings not the output you need ?


===
Nothing's impossible for those who don't have to do it.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 36,406
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Good Folder Printer
« Reply #5 on: August 25, 2005, 02:17:08 PM »
this sounds like a good tool to add to our upcoming Context Menu Commander program.

Edvard

  • Coding Snacks Author
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 2,888
    • View Profile
    • Donate to Member
Re: Good Folder Printer
« Reply #6 on: August 25, 2005, 02:33:25 PM »
In the meantime... to automagically print the output; make a .bat file with this code:
@echo off
tree /F /A %1 > "%temp%\dirlist"
start /w notepad /p "%temp%\dirlist"
del "%temp%\dirlist"
exit

call it "Dirlist.bat" or something, and save it to your c:\ dir then make a .reg file:
REGEDIT4

[HKEY_CLASSES_ROOT\Directory\shell\Dirlist\command]
@="C:\\dirlist.bat %1\\"
(you could also replace "C:\" with a path to wherever you really want to put the .bat file, and remember to double the slashes...)
and right-click Merge.

Now, right-click on any directory and select "Dirlist"
 :up:

Context Menu Commander?!? Oooh, I can't wait!... (no more digging in the registry, whew!)
« Last Edit: August 25, 2005, 02:35:42 PM by Edvard »

imtrobin

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 125
    • View Profile
    • Donate to Member
Re: Good Folder Printer
« Reply #7 on: August 25, 2005, 02:39:13 PM »
Here is an tool how generates list of an folder containt:
Directory Lister from http://freeware.prv.pl
The version 0.7.2 was freeware, the new one is now shareware.

But thought this brings not the output you need ?

Not quite, the output of the folders is not indented.

vegas

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 352
    • View Profile
    • Donate to Member
Re: Good Folder Printer
« Reply #8 on: July 17, 2007, 09:59:40 AM »
Directory Lister, easily the best piece of software out there in this category has been updated to a Final Version 1.0,  and is now shareware  :(

http://www.krksoft.com/Whatsnew.php

Edvard

  • Coding Snacks Author
  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 2,888
    • View Profile
    • Donate to Member
Re: Good Folder Printer
« Reply #9 on: July 17, 2007, 11:21:09 AM »
There is a file manager that makes pretty directory printouts- I can't remember if it was FreeCommander or A43 or some other one, but it works well...

On the other hand, I have updated my own directory listing code:
1- download a2ps and stick it in your PATH somewhere.
2- download the PrintFile32 utility. It's a standalone "throw a postscript file at my printer" utility. Quite useful, really.
3- here's my batch code:
@echo off
TITLE Preparing File Tree...
tree %1| a2ps - -1B -X ibm-cp437 -o %temp%\tree.ps
start c:\program files\printfile32\prfile32.exe /q %temp%\tree.ps
exit

Stick a shortcut in your "Send To..." folder, or hack your registry to have it pop up when you right-click a folder.