view files by Name
Moderators: white, Hacker, petermad, Stefan2
view files by Name
hello ,
as u can see by the following photo :
Image: https://image.ibb.co/dzCPrK/tc.jpg
i want to order the names of the files in this order :
6950-004-001-p0
6950-004-002-p0
6950-004-001-p1
6950-004-002-p1
how can i do that ?
thanks !
as u can see by the following photo :
Image: https://image.ibb.co/dzCPrK/tc.jpg
i want to order the names of the files in this order :
6950-004-001-p0
6950-004-002-p0
6950-004-001-p1
6950-004-002-p1
how can i do that ?
thanks !
Re: view files by Name
You can install the content plugin filesys: https://plugins.ghisler.com/beta/wdx_filesys.zip
Then make a custom column with this Field content: [=filesys.CutNameStart.13]
And sort by that custom column
Then make a custom column with this Field content: [=filesys.CutNameStart.13]
And sort by that custom column
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- sqa_wizard
- Power Member
- Posts: 3867
- Joined: 2003-02-06, 11:41 UTC
- Location: Germany
Re: view files by Name
You may create a custom column even without additional plugin.
The internal tc will do it too. Just use [=tc.name:-3-] for the last 3 character.
The internal tc will do it too. Just use [=tc.name:-3-] for the last 3 character.
#5767 Personal license
Re: view files by Name
2sqa_wizard
[=tc.name:-3-] name will show the last 3 characters - but TC will still sort by the full name for that column!
[=tc.name:-3-] name will show the last 3 characters - but TC will still sort by the full name for that column!
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: view files by Name
hey , thanks a lot ! its working!petermad wrote: ↑2018-08-04, 16:03 UTC You can install the content plugin filesys: https://plugins.ghisler.com/beta/wdx_filesys.zip
Then make a custom column with this Field content: [=filesys.CutNameStart.13]
And sort by that custom column
the other method isnt working but thanks for the help.
Re: view files by Name
hey , another question please :
how i can see in a custom column for the name :6950-004-001-p0
to see : 001
?
thanks.
how i can see in a custom column for the name :6950-004-001-p0
to see : 001
?
thanks.
Re: view files by Name
Use [=tc.name:10-12] - but it only will show 001, it will still sort on the full name as I wrote previously.
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: view files by Name
thank you for your help ,
how can i set this columns configuration to be active for this specific folder ?
is it possible to make a button that shifts between custom columns modes ?
Re: view files by Name
You can make a "View Mode" (under Configuration) where you at the "Columns view" pick your custom column.how can i set this columns configuration to be active for this specific folder ?
Then you make an "Auto Switch Mode" where you as a "Rule" choose "+: Must match" and enter your directory in the "Directory" column.
Finally you use "Set this mode" to pick the "View Mode" you made in the first step.
Remember to enable the "Automatically switch view mode on directory change" in the top of the "Auto Switch Mode" dialog.
You can just right click on the columns header to get a list of all your custom column views. Or you can press Shift+F1 to open the list.is it possible to make a button that shifts between custom columns modes ?
You can also use this button to go directly to a specific view (assuming your view is called "Myview"):
Code: Select all
TOTALCMD#BAR#DATA
OPENCUSTOMVIEW Myview
wcmicons.dll,52
Open Custom colums view "Myview"
-1
If you want a button to open the list of views, you can use this:
Code: Select all
TOTALCMD#BAR#DATA
cm_SrcCustomViewMenu
wcmicons.dll,52
270
Code: Select all
TOTALCMD#BAR#DATA
cm_SrcNextCustomView
wcmicons.dll,52
5501
Code: Select all
TOTALCMD#BAR#DATA
cm_SrcPrevCustomView
wcmicons.dll,52
5502
To make the buttons:
1. Mark the green text above (click SELECT ALL).
2. Copy it to the ClipBoard (press Ctri+C).
3. Right click on TC's buttonbar and choose "Paste".
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: view files by Name
thank you very much!
for what i need to use Auto-run commands in configuration ---> View mode ?
can you give an example ?
thanks
for what i need to use Auto-run commands in configuration ---> View mode ?
can you give an example ?
thanks
Re: view files by Name
Let's assume that you have made the aforementioned Custom column view, containing [=filesys.CutNameStart.13] and you have named it MyCustomView and that it is the first custom columns view in the list.
Let's also assume that you want that view to automatically be used when you enter the folder c:\MyFolder
Then:
1. Open "Configuration" -> "View Modes".
2. Click the button "Add".
3. Name the View mode: "MyViewMode".
4. At field "Columns view:" open the dropdown list and choose: "1. MyCustomView".
5. In the field "Auto-run commands:" write "|cm_SrcLong" - without the qutation marks, notice the | in front - it will return you to normal Full view when you leave the directory.
6. Open "Configuration" -> "Auto Switch Mode".
7. Check the box "Automatically switch view mode on directory change".
8. Click the button "Add".
9. Leave the "+ Must match" Rule as it is.
10. In the "Directory:" field type: c:\MyFolder\
11: In "Set this mode:" select: "MyViewMode".
12: Click OK.
Let's also assume that you want that view to automatically be used when you enter the folder c:\MyFolder
Then:
1. Open "Configuration" -> "View Modes".
2. Click the button "Add".
3. Name the View mode: "MyViewMode".
4. At field "Columns view:" open the dropdown list and choose: "1. MyCustomView".
5. In the field "Auto-run commands:" write "|cm_SrcLong" - without the qutation marks, notice the | in front - it will return you to normal Full view when you leave the directory.
6. Open "Configuration" -> "Auto Switch Mode".
7. Check the box "Automatically switch view mode on directory change".
8. Click the button "Add".
9. Leave the "+ Must match" Rule as it is.
10. In the "Directory:" field type: c:\MyFolder\
11: In "Set this mode:" select: "MyViewMode".
12: Click OK.
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar