Command to save columns, paths, and header to file

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Ralph
Junior Member
Junior Member
Posts: 97
Joined: 2004-08-21, 14:58 UTC
Location: USA

Command to save columns, paths, and header to file

Post by *Ralph »

I would like a command to save all columns to a file, with full paths and header.
This could be like
cm_SaveHdrDetailsToFile (Save all shown columns to file, with headers)
plus the full path aspect of
cm_CopyHdrFpFileDetailsToClip (Copy all columns, with headers+full path)

Thanks

Ralph
Ralph
Junior Member
Junior Member
Posts: 97
Joined: 2004-08-21, 14:58 UTC
Location: USA

Re: Command to save columns, paths, and header to file

Post by *Ralph »

I now use the steps below to list various file properties:
Search > Feed to Listbox >
Custom Columns using the ShellDetails plugin >
Select all folders and files >
Mark > Copy To Clipboard With Path + Details >
paste into a file > save the file
.

The whole process takes 4-5 hours, in part because it involves hundreds of thousands of files on a LAN drive in the cloud. TC spends the majority of that time on completing the Copy To Clipboard With Path + Details step. During that time, it appears that I shouldn't use the clipboard for other purposes. If I make any mistake, I have to start over.

If the Mark > Copy To Clipboard With Path + Details > paste into a file > save the file steps could be combined into an internal command or a Mark command, I could avoid mistakes and save time. In addition, I might be able to use the Lister to check the file being created.

Thanks
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Command to save columns, paths, and header to file

Post by *petermad »

2Ralph

You can copy filenames + columns directly to a file with the command SAVEDETAILS.

If will not copy the file names with path, but you could make an extra column with the path.

This button could do it:

Code: Select all

TOTALCMD#BAR#DATA
SAVEDETAILS
"%PSELECTEDFILES.txt"
wcmicons.dll,62
Save file names + all columns in the file SELECTEDFILES.txt


-1
To make the button:
1. Mark the text in the box here above (click SELECT ALL).
2. Copy it to the ClipBoard (press Ctrl+C).
3. Right click on TC's buttonbar and choose "Paste".
I don't know if it is faster than copying to Clipboard, but the Clipbord is not occupied then.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Ralph
Junior Member
Junior Member
Posts: 97
Joined: 2004-08-21, 14:58 UTC
Location: USA

Re: Command to save columns, paths, and header to file

Post by *Ralph »

2petermad

I did a test, and your method worked. I had been thinking that the path should precede and be joined to the filename. In fact, I can treat the listing as a database and use the path and filename fields separately or join them as needed.

Thank you.

Ralph
Post Reply