topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Wednesday December 11, 2024, 6:30 am
  • Proudly celebrating 15+ 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

Last post Author Topic: Personalyzed directory tree listing  (Read 13542 times)

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Personalyzed directory tree listing
« on: May 30, 2013, 03:38 PM »
Freeware (if possible...) portable application for
obtain in a txt file a list of the files in a folder or in a tree folders structure with personalized fields.

By example :

Obtain a txt with name and extension followed by the complete path to the file
With possibility to exclude certain extensions or hidden files.

example.doc   x:\folder\subfolder\example.doc

and many other combinations of listing

Exist this software ?

I have found Karen's Directory Printer but is not enough.

I need for shortlinks that really point to the real file whenever it is when possible. So I need to read the real path to that file, not the .lnk extension file when is found in the folder.
so the program needs to make a complete read of the link and be able to export a personalyzed group of parameters....

 :-*


Best Regards

Additionally is not intended to print in paper. Karen's software cuts the line when is too long.

« Last Edit: May 30, 2013, 04:55 PM by Contro »

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Re: Personalyzed directory tree listing
« Reply #1 on: May 30, 2013, 05:20 PM »
Have a look at this one Contro - mini-review of SysExporter by IainB:
https://www.donation...ex.php?topic=32887.0
- I dont know can it do what you want though...


I think Directory Opus could do all this - then again maybe not - see Note3 below
flat view will show sub-folder contents
filter for filetypes
add relevant columns
menu: Tools >Print Folder Listing => filter for filetypes in this dialogue

*.txt files in CHS install
Name                    Ext     Location                                                       Modified

Backups                         C:\Program Files (x86)\Clipboard Help+Spell            2012-11-29 22:31
  README.txt            txt     C:\Program File...\Clipboard Help+Spell\Backups        2005-08-08 23:16
Database                        C:\Program Files (x86)\Clipboard Help+Spell            2011-07-25 17:19
  README.txt            txt     C:\Program Fil...\Clipboard Help+Spell\Database        2005-07-21 02:28
Dictionaries                    C:\Program Files (x86)\Clipboard Help+Spell            2012-11-29 22:31
PresetFormats                   C:\Program Files (x86)\Clipboard Help+Spell            2012-11-29 22:31
PresetViews                     C:\Program Files (x86)\Clipboard Help+Spell            2012-11-29 22:31
Sounds                          C:\Program Files (x86)\Clipboard Help+Spell            2012-11-29 22:31
Tools                           C:\Program Files (x86)\Clipboard Help+Spell            2012-11-29 22:31
  README.txt            txt     C:\Program Files...\Clipboard Help+Spell\Tools         2011-10-09 19:16


Note1: folders seem to get included anyway
Note2: need to allow lots of space for the filepath - or they get corrupted as above
Note3: I re-read your post and this doesnt work with shortcut files as you want - i.e. shows path to shortcut

but of course it's far from free ...
Tom
« Last Edit: May 30, 2013, 05:35 PM by tomos, Reason: see Note3 »

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Re: Personalyzed directory tree listing
« Reply #2 on: May 30, 2013, 05:54 PM »
I wont edit that post above again ;D

Dopus also has a column to show target of shortcut

Spoiler
Name                            Ext     Location                        Target

New Folder                              Z:\Temp\TERST
ExifPro 2.1                     lnk     Z:\Temp\TERST                   C:\Program Files\ExifPro 2.1\ExifPro.exe
Illustrator                     lnk     Z:\Temp\TERST                   C:\Program Files (x86)\Adobe\Adobe Illustrator CS4\Support Files\Contents\Windows\Illustrator.exe
NoisewareSE portable            lnk     Z:\Temp\TERST                   C:\Portable\Noiseware Standard Edition\NoisewareSE.exe

Tom

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Personalyzed directory tree listing
« Reply #3 on: May 30, 2013, 07:38 PM »
Ouwwwwww.

SysExporter seems different
Not for listing a folder to a txt file with fields personalizables.....

Directory Opus is not free.

Filelister 3.6 very very simple


Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Personalyzed directory tree listing
« Reply #4 on: May 30, 2013, 08:22 PM »
I have tried or trying these

Freecommander portable
fileList Creator portable


Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Personalyzed directory tree listing
« Reply #5 on: May 31, 2013, 06:43 AM »
I have download a demo of Directory Opus
How can I obtain a txt file with the target field in the list ?

Best Regards

4wd

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,644
    • View Profile
    • Donate to Member
Re: Personalyzed directory tree listing
« Reply #6 on: May 31, 2013, 07:19 AM »
Note3: I re-read your post and this doesnt work with shortcut files as you want - i.e. shows path to shortcut

It can if you choose to display the Target field, however it won't ouput a text file in the format Contro wants since you have to output the following headers:

Name        Target           Full Path

For a real file you'll only get Name and Full Path, for a shortcut you'll get all three fields, eg.

   Name                                      Target                                    Full Path
SolusVM VPS Setup.pdf                                                   C:\Users\4wd\Desktop\SolusVM VPS Setup.pdf
test.avi - Shortcut                      U:\test.avi                     C:\Users\4wd\Desktop\test.avi - Shortcut.lnk

Tools->Print Folder

2013-05-31 22_00_10-Print Folder Contents - Directory Opus.pngPersonalyzed directory tree listing

2013-05-31 22_16_27-Edit Format.pngPersonalyzed directory tree listing

However, you could probably then easily massage the data in an editor.

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Re: Personalyzed directory tree listing
« Reply #7 on: May 31, 2013, 07:27 AM »
I have download a demo of Directory Opus
How can I obtain a txt file with the target field in the list ?

There may be another route but I -
Right-clicked column header and selected the columns (under 'General'):

Screenshot - 2013-05-31 , 14_19_44.pngPersonalyzed directory tree listing

then when printing see 4WD's post - or if you select "Current" in the Format section, it will show the current columns with the current column width

Screenshot - 2013-05-31 , 14_26_01.pngPersonalyzed directory tree listing

Tom

TaoPhoenix

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,642
    • View Profile
    • Donate to Member
Re: Personalyzed directory tree listing
« Reply #8 on: May 31, 2013, 07:38 AM »
Freeware (if possible...) portable application for
obtain in a txt file a list of the files in a folder or in a tree folders structure with personalized fields.

By example :

Obtain a txt with name and extension followed by the complete path to the file
With possibility to exclude certain extensions or hidden files.

example.doc   x:\folder\subfolder\example.doc

and many other combinations of listing

Exist this software ?

I have found Karen's Directory Printer but is not enough.

I need for shortlinks that really point to the real file whenever it is when possible. So I need to read the real path to that file, not the .lnk extension file when is found in the folder.
so the program needs to make a complete read of the link and be able to export a personalyzed group of parameters....
Best Regards

Additionally is not intended to print in paper. Karen's software cuts the line when is too long.

Hi Contro,

I have used and recommended Karen's directory printer for some time now, so I am a bit surprised that it isn't apparently doing a couple of things for you that I believe it is able to do.  You may still need a new program, but here are some notes:

1. "So I need to read the real path to that file, not the .lnk extension file when is found in the folder.." Fair, it doesn't resolve links into the real-files. However, in some ways, that also is a bit much to ask for the type of program it is - it reads the directory; so if you want the actual program, it's over in .../programs/...

So if you wanted all those programs, read that folder tree instead.

2. How are you seeing "cutting the line when it is too long"? When I have made directory reads, the only limiting factor was notepad/wordpad wrapping the line. I haven't seen Karen's Reader cutting lines on me. (XP).

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Personalyzed directory tree listing
« Reply #9 on: May 31, 2013, 09:34 AM »
Freeware (if possible...) portable application for
obtain in a txt file a list of the files in a folder or in a tree folders structure with personalized fields.

By example :

Obtain a txt with name and extension followed by the complete path to the file
With possibility to exclude certain extensions or hidden files.

example.doc   x:\folder\subfolder\example.doc

and many other combinations of listing

Exist this software ?

I have found Karen's Directory Printer but is not enough.

I need for shortlinks that really point to the real file whenever it is when possible. So I need to read the real path to that file, not the .lnk extension file when is found in the folder.
so the program needs to make a complete read of the link and be able to export a personalyzed group of parameters....
Best Regards

Additionally is not intended to print in paper. Karen's software cuts the line when is too long.

Hi Contro,

I have used and recommended Karen's directory printer for some time now, so I am a bit surprised that it isn't apparently doing a couple of things for you that I believe it is able to do.  You may still need a new program, but here are some notes:

1. "So I need to read the real path to that file, not the .lnk extension file when is found in the folder.." Fair, it doesn't resolve links into the real-files. However, in some ways, that also is a bit much to ask for the type of program it is - it reads the directory; so if you want the actual program, it's over in .../programs/...

So if you wanted all those programs, read that folder tree instead.

2. How are you seeing "cutting the line when it is too long"? When I have made directory reads, the only limiting factor was notepad/wordpad wrapping the line. I haven't seen Karen's Reader cutting lines on me. (XP).

One handicap with KDP is that create a pdf ready to print in paper. But I have very long paths that is not possible to show in a single line....

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Personalyzed directory tree listing
« Reply #10 on: May 31, 2013, 11:05 AM »
I don't see the column full path in the program

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Re: Personalyzed directory tree listing
« Reply #11 on: May 31, 2013, 11:24 AM »
^it's called 'Location' there
Tom

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Personalyzed directory tree listing
« Reply #12 on: May 31, 2013, 11:32 AM »
Owww Tomos.
Seems only cover the path, but not the full path. That's

y:\example\path1\name.txt

and
y:\example\path1   only for location....


Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Personalyzed directory tree listing
« Reply #13 on: May 31, 2013, 11:41 AM »
Is no solution for this I try to adapt.
 :-*

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Re: Personalyzed directory tree listing
« Reply #14 on: May 31, 2013, 01:23 PM »
There's something funny going on - Full path is actually there but because it didnt show in your screenshot I presumed it didnt exist
See:

Right-clicked column header and selected the columns (under 'General'):
 (see attachment in previous post)

Columns >General >Full Path
Tom

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Personalyzed directory tree listing
« Reply #15 on: May 31, 2013, 03:26 PM »
Perhaps you have an older version Tomos.
I don't see the option
 :P

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Re: Personalyzed directory tree listing
« Reply #16 on: May 31, 2013, 03:42 PM »
Perhaps you have an older version Tomos.
I don't see the option
 :P

No, I have the most recent - did you check my screenshot?
https://www.donation...0;attach=75899;image

Right-click column header then as said above (can be seen in screenshot):
Columns >General >Full Path

Or maybe you've found a bug on your OS or something cause I can see 'Full Path' where you cant ...
https://www.donation...0;attach=75908;image

Something weird going on - is the trial limited? (I dont think so).
I dunno Contro, cant really help beyond that.
Tom

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Personalyzed directory tree listing
« Reply #17 on: May 31, 2013, 04:00 PM »
I think is a different version
 :P

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,964
    • View Profile
    • Donate to Member
Re: Personalyzed directory tree listing
« Reply #18 on: May 31, 2013, 04:47 PM »
Directory Opus Pro 10.5.1.0 (4848) x64
OS 6.1 (B:7601 P:2 T:1) SP 1.0 "Service Pack 1"

and
Your version is current
Tom

TaoPhoenix

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,642
    • View Profile
    • Donate to Member
Re: Personalyzed directory tree listing
« Reply #19 on: May 31, 2013, 05:52 PM »

One handicap with KDP is that create a pdf ready to print in paper. But I have very long paths that is not possible to show in a single line....


Naw Contro, I always save the results to a text file, so maybe it's down to a setting in the program. I never saw it cut off a directory in the text file.

Maybe we can do an experiment together or something.

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Personalyzed directory tree listing
« Reply #20 on: May 31, 2013, 06:08 PM »

One handicap with KDP is that create a pdf ready to print in paper. But I have very long paths that is not possible to show in a single line....


Naw Contro, I always save the results to a text file, so maybe it's down to a setting in the program. I never saw it cut off a directory in the text file.

Maybe we can do an experiment together or something.

i am ready to begin just now.
I begin to investigate.
 :-*

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Personalyzed directory tree listing
« Reply #21 on: May 31, 2013, 06:09 PM »
Directory Opus Pro 10.5.1.0 (4848) x64
OS 6.1 (B:7601 P:2 T:1) SP 1.0 "Service Pack 1"

and
Your version is current

A screenshot

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Personalyzed directory tree listing
« Reply #22 on: May 31, 2013, 06:11 PM »
 :o

I have windows 7
do you have windows 8 or something ?
 :-[

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,940
    • View Profile
    • Donate to Member
Re: Personalyzed directory tree listing
« Reply #23 on: May 31, 2013, 06:12 PM »
OS 6.1 ?
Seems Apple.
Nice indeed.
I have windows.
 :Thmbsup:

4wd

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,644
    • View Profile
    • Donate to Member
Re: Personalyzed directory tree listing
« Reply #24 on: May 31, 2013, 07:09 PM »
OS 6.1 ?
Seems Apple.
Nice indeed.
I have windows.
 :Thmbsup:

That's the Windows version number:

Windows 7                      6.1
Windows Server 2008 R2   6.1
Windows Server 2008       6.0
Windows Vista                6.0
Windows Server 2003 R2  5.2
Windows Server 2003       5.2
Windows XP                    5.1
Windows 2000                 5.0

Don't know where you got it from but the version of DOpus you downloaded is not the latest:

2013-06-01 10_06_50-Download Directory Opus - Pale Moon.png

Addendum: Anyway, I got bored and decided to see if it could be done in DOS......and it can with a little help from Shortcut :)

Code: Text [Select]
  1. @echo off
  2. rem RecList.cmd
  3. rem Run it from directory you want to list, lists recursively
  4. rem output is: Name <TAB> Full Path/Target
  5. rem
  6. rem eg. RecList.cmd >output.txt
  7. rem
  8. rem Requires Shortcut.exe from http://www.optimumx.com somewhere in
  9. rem your path, eg. C:\Windows\System32
  10.  
  11. rem That's a real TAB character at the end of that line
  12. set TAB=    
  13.  
  14. rem List all the non shortcuts first as: Name<TAB>Full Path
  15. for /f "tokens=* usebackq" %%m in (`dir /s /b /a-d ^| findstr /v /i "\.lnk$"`) do echo %%~nxm%TAB%%%m
  16.  
  17. rem List all the shortcuts as: Name<TAB>Target
  18. for /r %%a in (*.lnk) do (
  19.     set "name=%%~nxa"
  20.     set "fpath=%%a"
  21. rem Line below extracts Target path from output of shortcut.exe and outputs name and target
  22.     for /f "tokens=2 usebackq delims==" %%b in (`shortcut.exe "/f:%fpath%" /a:q ^| find /i "targetpathexpanded"`) do (echo %name%%TAB%%%b)
  23. )

Output will look like:
Code: Text [Select]
  1. testdisk_win.exe    U:\test\testdisk-6.14-WIP\testdisk_win.exe
  2. THANKS    U:\test\testdisk-6.14-WIP\THANKS
  3. VERSION    U:\test\testdisk-6.14-WIP\VERSION
  4. zlib1.dll    U:\test\testdisk-6.14-WIP\zlib1.dll
  5. Permissions - Shortcut.lnk    D:\Downloads\Permissions.au3

The last line is a shortcut with its target.

Anyway, an exercise in silliness.  ;D

NOTE: I won't be feature-fying it - the source is included.
« Last Edit: May 31, 2013, 09:52 PM by 4wd »