Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Feature request: Dump file list to text file
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander (English) Printable version
View previous topic :: View next topic  
Author Message
tykling
New Member
New Member


Joined: 16 Feb 2006
Posts: 1

PostPosted: Thu Feb 16, 2006 11:07 am    Post subject: Feature request: Dump file list to text file Reply with quote

As subject says, I'd like the possibility to feed whatever is in a listbox (a directory or the results of a search, for example) to a text file for use elsewhere.

Thanks for a world class program!
Back to top
View user's profile Send private message
icfu
Power Member
Power Member


Joined: 10 Sep 2003
Posts: 6059

PostPosted: Thu Feb 16, 2006 11:21 am    Post subject: Reply with quote

1. This will be supported by TC 7.
2. You can use http://www.totalcmd.net/plugring/WdxInfopacker.html

Icfu
_________________
This account is for sale
Back to top
View user's profile Send private message Send e-mail
majkinetor !
Power Member
Power Member


Joined: 18 Jan 2006
Posts: 1571

PostPosted: Thu Feb 16, 2006 12:35 pm    Post subject: Reply with quote

GetNames.bat

Code:
@echo off
:: =================================================================
:: PURPOSE:   Starts editor with list of all files in current folder
:: ARG     :   %1 (folder to display, optional)
:: =================================================================

dir %1 /b /OG /ON > %temp%\_GetNames.txt
start "%UTILS%\Edit Plus\EditPlus.exe" %temp%\_GetNames.txt


This is for regular cmd.exe, but you can call it from TC to get current dir names. For selection, search and other things it is even easier, just use %L param in start menu to get the list as direct param to your editor.
_________________

             Habemus majkam!


www.r-moth.com               http://r-moth.deviantart.com
Back to top
View user's profile Send private message Visit poster's website
orndorff
Junior Member
Junior Member


Joined: 16 Feb 2006
Posts: 2

PostPosted: Thu Feb 16, 2006 3:29 pm    Post subject: Reply with quote

I added a menu item to allow me to copy either the selected file names or the selected path+file names. Just add this to your .lng file:

Code:
POPUP "C&ustom"
  MENUITEM "Copy Filename to Clipboard", 2017
  MENUITEM "Copy Path\Filename to Clipboard", 2018
END_POPUP


I use this *all* the time. The names get copied to the clipboard as text, and then I can paste it into whatever I want.

FYI, I just make a copy of the WCMD_ENG.MNU file and add my customizations to it and then use that as my main menu file.
Back to top
View user's profile Send private message
Sheepdog
Power Member
Power Member


Joined: 18 Dec 2003
Posts: 5155
Location: Berlin, Germany

PostPosted: Thu Feb 16, 2006 3:48 pm    Post subject: Reply with quote

orndorff wrote:
FYI, I just make a copy of the WCMD_ENG.MNU file and add my customizations to it and then use that as my main menu file.


FYI when you download the english language file and rename it corresponding to your menu e.g.

WCMD_ENG_Orndorff.lng and WCMD_ENG_Orndorff.mnu you have only to select the WCMD_ENG_Orndorff.lng to choose your menu in the TC dialog.

Changing the very first line of the language file from "English" to "Orndorff" will display "Orndorff" as name for the language.

sheepdog
_________________
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Lefteous
Power Member
Power Member


Joined: 08 Feb 2003
Posts: 7675
Location: Germany

PostPosted: Thu Feb 16, 2006 3:54 pm    Post subject: Reply with quote

Quote:
FYI when you download the english language file and rename it corresponding to your menu e.g.

WCMD_ENG_Orndorff.lng and WCMD_ENG_Orndorff.mnu you have only to select the WCMD_ENG_Orndorff.lng to choose your menu in the TC dialog.

Changing the very first line of the language file from "English" to "Orndorff" will display "Orndorff" as name for the language.

...and don't forget to rename your content plugin language file sections to ENG_Orndorff. Evil or Very Mad
Back to top
View user's profile Send private message Send e-mail Visit poster's website
petermad
Power Member
Power Member


Joined: 05 Feb 2003
Posts: 5355
Location: Valsted, Denmark

PostPosted: Thu Feb 16, 2006 4:18 pm    Post subject: Reply with quote

2Lefteous
Quote:
and don't forget to rename your content plugin language file sections to ENG_Orndorff

I don't understand that statement - most content plugins - including your own - will set the language to ENG(lish) if character 6-8 of the .LNG file name spells ENG ?
_________________
#524
Danish Total Commander Translator
Windows XP Home 32bit SP3 & Windows 7 Home Premium 64bit SP1 and Windows 8. TC 8.01 32 + 64bit

Get Extended Total Commander Menus
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Lefteous
Power Member
Power Member


Joined: 08 Feb 2003
Posts: 7675
Location: Germany

PostPosted: Thu Feb 16, 2006 4:24 pm    Post subject: Reply with quote

2petermad
Quote:
I don't understand that statement - most content plugins - including your own - will set the language to ENG(lish) if character 6-8 of the .LNG file name spells ENG ?

TC doesn't check for characters 6-8 - it checks for everything behind the underscore.

BTW: I never heared of the language ENG Orndorff.. Question
Back to top
View user's profile Send private message Send e-mail Visit poster's website
icfu
Power Member
Power Member


Joined: 10 Sep 2003
Posts: 6059

PostPosted: Thu Feb 16, 2006 4:36 pm    Post subject: Reply with quote

Quote:
TC doesn't check for characters 6-8 - it checks for everything behind the underscore.

I cannot reproduce that. When I rename [deu] to [DEU_TCExtMenu] in DirSizeCalc.lng because the language file is WCMD_DEU_TCExtMenu.LNG, this has no effect. Plugin is still English instead of German.

Icfu
_________________
This account is for sale
Back to top
View user's profile Send private message Send e-mail
Lefteous
Power Member
Power Member


Joined: 08 Feb 2003
Posts: 7675
Location: Germany

PostPosted: Thu Feb 16, 2006 4:44 pm    Post subject: Reply with quote

2icfu
Quote:
I cannot reproduce that. When I rename [deu] to [DEU_TCExtMenu] in DirSizeCalc.lng because the language file is WCMD_DEU_TCExtMenu.LNG, this has no effect. Plugin is still English instead of German.

Strange - in this what you reported here is wrong and we have to restart the discussion Shocked
I currently have no idea what TC is actially doing Question

http://www.ghisler.ch/board/viewtopic.php?p=80524#80524
Back to top
View user's profile Send private message Send e-mail Visit poster's website
petermad
Power Member
Power Member


Joined: 05 Feb 2003
Posts: 5355
Location: Valsted, Denmark

PostPosted: Thu Feb 16, 2006 4:55 pm    Post subject: Reply with quote

2Lefteous
Quote:
TC doesn't check for characters 6-8 - it checks for everything behind the underscore

I checked it out - you are partly right. TC seems to check the first 3 characters after the LAST underscore.

So if I for example use a language file called WCMD_DAN2.LNG then All my content plugins uses the [DAN] section in their respective language files. The same applies if I use a language file called WCMD_DANPeter.LNG or WCMD_xxx_DAN.LNG but NOT WCMD_DAN_Peter.LNG.

So you are right: WCMD_ENG_Orndorff.lng is not a good choice because of the second underscore before Orndorff -- WCMD_ENGOrndorff.lng, "WCMD_ENG Orndorff.lng" or WCMD_Orndorff_ENG.lng would be better (if one wants English translations of the content plugins)
_________________
#524
Danish Total Commander Translator
Windows XP Home 32bit SP3 & Windows 7 Home Premium 64bit SP1 and Windows 8. TC 8.01 32 + 64bit

Get Extended Total Commander Menus
Back to top
View user's profile Send private message Send e-mail Visit poster's website
icfu
Power Member
Power Member


Joined: 10 Sep 2003
Posts: 6059

PostPosted: Thu Feb 16, 2006 4:56 pm    Post subject: Reply with quote

Quote:
Strange - in this what you reported here is wrong and we have to restart the discussion

I haven't reported and claimed that a rename of a plugin section will switch language.

Sheepdog has claimed it in that thread and you have agreed.

I also cannot reproduce what petermad has just told. Even when I rename the file to WCMD_DEUTCExtMenu.lng without underscore, the [deu] section is ignored. It's also ignored when I rename it to [DEUTCExtMenu].

Icfu
_________________
This account is for sale


Last edited by icfu on Thu Feb 16, 2006 5:03 pm; edited 2 times in total
Back to top
View user's profile Send private message Send e-mail
Lefteous
Power Member
Power Member


Joined: 08 Feb 2003
Posts: 7675
Location: Germany

PostPosted: Thu Feb 16, 2006 4:57 pm    Post subject: Reply with quote

2petermad
So it really seems the underscore is the source of all the trouble? In this case we finally have a good solution Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website
petermad
Power Member
Power Member


Joined: 05 Feb 2003
Posts: 5355
Location: Valsted, Denmark

PostPosted: Thu Feb 16, 2006 5:10 pm    Post subject: Reply with quote

2Lefteous
Wonder if Black Dog knew this when he named the file Wcmd_exp_eng.lng in his Total Commander Interface Pack Expansion v.6.03 - or was he just lucky Question Wink
_________________
#524
Danish Total Commander Translator
Windows XP Home 32bit SP3 & Windows 7 Home Premium 64bit SP1 and Windows 8. TC 8.01 32 + 64bit

Get Extended Total Commander Menus
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Sheepdog
Power Member
Power Member


Joined: 18 Dec 2003
Posts: 5155
Location: Berlin, Germany

PostPosted: Thu Feb 16, 2006 5:18 pm    Post subject: Reply with quote

Embarassed Sorry, apparently I was talking 'bout the content plugin while I was referring to the packer plugin. Embarassed

sheepdog
_________________
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander (English) All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group