Copying the results of a search to a file

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
eschamp
Junior Member
Junior Member
Posts: 14
Joined: 2004-10-30, 16:00 UTC

Copying the results of a search to a file

Post by *eschamp »

Is there any way to copy and paste the results of a search command into a text file?

Thank you.
User avatar
Vochomurka
Power Member
Power Member
Posts: 816
Joined: 2005-09-14, 22:19 UTC
Location: Russia
Contact:

Post by *Vochomurka »

1) Select all (cm_SelectAll);
2) Copy file names to clipboard (cm_CopyNamesToClip);
3) Open any text editor and paste Ctrl+Ins.
Single user license #329241
PowerPro scripts for Total Commander
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

0) Press button 'Feed to listbox' in search results dialog (if we're talking about normal search and not quick search).
User avatar
HolgerK
Power Member
Power Member
Posts: 5412
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

- <Alt+F7>
- Wait until the search is completed
- <Ctrl+C> (the search result window will flash once)
- <Ctrl+V> in Notepad (or in any other text editor)
- Save as text file

HTH
Holger
Make our planet great again
Cobras
Member
Member
Posts: 137
Joined: 2003-11-18, 22:27 UTC

Post by *Cobras »

HolgerK wrote:- <Alt+F7>
- Wait until the search is completed
HTH
Holger
Your tip is very quick but what is " Alt+F7" for?
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

Cobras wrote:Your tip is very quick but what is " Alt+F7" for?
It is the default hotkey for cm_SearchFor
Cobras
Member
Member
Posts: 137
Joined: 2003-11-18, 22:27 UTC

Post by *Cobras »

ts4242 wrote:
Cobras wrote:Your tip is very quick but what is " Alt+F7" for?
It is the default hotkey for cm_SearchFor
Before posting this question, I tried Alt+F7. I did not get any response.
That's why I posted the question.

When I tried it again this morning (after reading your post), it worked.
Search dialog box appeared.

BTW, where to find the list of commands like cm_SearchFor?
umbra
Power Member
Power Member
Posts: 876
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

2Cobras
Use command cm_CommandBrowser.
Windows 10 Pro x64, Windows 11 Pro x64
Cobras
Member
Member
Posts: 137
Joined: 2003-11-18, 22:27 UTC

Post by *Cobras »

umbra wrote:2Cobras
Use command cm_CommandBrowser.
Thank you. I got it.
Post Reply