Hi guys,
I want to be able to run a search for a keyword (or whatever) for files.
But obtain a list of all folders which contain those files (duplicates of folders removed).
Anybody got any ideas?
Similar to:
Mark>Copy names with path to clipboard MINUS copy selected names to clipboard
At the moment I need to manually copy both into excel and then run a macro to edit the strings; I'm sure there is a better way to do this!
Cheers,
Jimmy
List of folders
Moderators: white, Hacker, petermad, Stefan2
- Vochomurka
- Power Member
- Posts: 814
- Joined: 2005-09-14, 22:19 UTC
- Location: Russia
- Contact:
Sudden idea:
1) Search;
2) Feed to listbox;
3) Select all;
4) Copy names to clip;
5) Paste to some powerful text editor with regular expressions (eg. EmEditor);
6) Remove all after last "\";
7) Remove duplicates (standard function of EmEditor).
The only complicated step is #6. I am not a regexp expert, but some people here definitely are.
In fact all above is not easier that that the way you've described.
Anyway, good luck
1) Search;
2) Feed to listbox;
3) Select all;
4) Copy names to clip;
5) Paste to some powerful text editor with regular expressions (eg. EmEditor);
6) Remove all after last "\";
7) Remove duplicates (standard function of EmEditor).
The only complicated step is #6. I am not a regexp expert, but some people here definitely are.
In fact all above is not easier that that the way you've described.
Anyway, good luck
Single user license #329241
PowerPro scripts for Total Commander
PowerPro scripts for Total Commander
It would help if cm_CopySrcPathToClip would work after Feed to listbox, but it doesn't.
In contrast to the commands "cm_CopyNamesToClip", "cm_CopyNetNamesToClip", cm_CopyFpFileDetailsToClip, which can be applied here.
I think it would be nice, if we could see cm_CopySrcPathToClip work after Feed to listbox in TC 9.10.
In contrast to the commands "cm_CopyNamesToClip", "cm_CopyNetNamesToClip", cm_CopyFpFileDetailsToClip, which can be applied here.
I think it would be nice, if we could see cm_CopySrcPathToClip work after Feed to listbox in TC 9.10.
- JimmyTheBroker
- Member
- Posts: 179
- Joined: 2017-06-07, 05:22 UTC
I don't know how to make custom views.
I'm also a super newb, so anything I say could be wrong.
Make a custom view with columns:
FileName, Directory, Extension
When you copy and paste into lister/text editor, you'd end up with the "Directory column"
However would this work? Or am I just crazy?
Jimmy
I'm also a super newb, so anything I say could be wrong.
Make a custom view with columns:
FileName, Directory, Extension
When you copy and paste into lister/text editor, you'd end up with the "Directory column"
However would this work? Or am I just crazy?
Jimmy
I finally get notifications from emails again!!!
So happy!
So happy!
Custom columns View
Creation of a "Custom columns - View"
-Configuration - Options - Custom columns - New
-Name: e.g. Filename and path
-Button "Add column"
-Caption: Path (Name and Ext. already defined as default)
-Click on the "+"-sign -> Plugins "tc" -> double-click on "path" under Properties
-Field contents: [=tc.path]
-tick: Adjust Tabs to window width
-tick: Horizontal scrollbar
-Button "Apply", OK, OK
With "Configuration" - "Save position" you can save your settings regarding column widths.
After 'Feed to listbox' make a right-click on your column headings and then choose your Custom columns view "Filename and path"
with left mouse-click.
Afterwords you can copy both colums with command "cm_CopyFileDetailsToClip" to clipboard and paste where you want.
If you want to integrate your Custom columns view into a View mode, then please familiarize yourself with basic informations:
viewtopic.php?p=329888#329888
-Configuration - Options - Custom columns - New
-Name: e.g. Filename and path
-Button "Add column"
-Caption: Path (Name and Ext. already defined as default)
-Click on the "+"-sign -> Plugins "tc" -> double-click on "path" under Properties
-Field contents: [=tc.path]
-tick: Adjust Tabs to window width
-tick: Horizontal scrollbar
-Button "Apply", OK, OK
With "Configuration" - "Save position" you can save your settings regarding column widths.
After 'Feed to listbox' make a right-click on your column headings and then choose your Custom columns view "Filename and path"
with left mouse-click.
Afterwords you can copy both colums with command "cm_CopyFileDetailsToClip" to clipboard and paste where you want.
If you want to integrate your Custom columns view into a View mode, then please familiarize yourself with basic informations:
viewtopic.php?p=329888#329888