Folders with long names to 8.3 ...

You have encountered a problem using Far Manager? Here you can get help.
Post Reply
User avatar
Mauro72
Posts: 210
Joined: Wed 11 Aug, 2010 00:23
Location: Rosario, Argentina
Been thanked: 9 times

Folders with long names to 8.3 ...

Post by Mauro72 » Tue 05 Apr, 2016 16:19

Hi,
I need to convert a bunch of folders with long names to 8.3
May be Luafar Search, Search and Replace, any help with this.. how?
Thanks!

User avatar
HaRT
Moderator
Posts: 8118
Joined: Tue 30 Aug, 2005 17:21
Location: Санкт-Петербург
Has thanked: 68 times
Been thanked: 106 times

Folders with long names to 8.3 ...

Post by HaRT » Tue 05 Apr, 2016 16:56

Mauro72 wrote: how?
You might use RESearch's “Rename files” with “[x] Evaluate as script”. Please read its docs (see @RegularReplaceScripting in [b][i]RESearchEng.hlf[/i][/b]) to learn how to get the existing names and return the new ones.
IMO, the main trick will be to ensure names' uniqueness.
Фар есть инструмент, а не нянька. © 2009 DrKnS

2useven10
Posts: 3045
Joined: Mon 07 Sep, 2009 10:40
Has thanked: 2 times
Been thanked: 83 times

Folders with long names to 8.3 ...

Post by 2useven10 » Tue 05 Apr, 2016 17:51

Mauro72 wrote: I need to convert a bunch of folders with long names to 8.3
Maybe win.GetFileInfo(FilePath).AlternateFileName can help?

User avatar
DrKnS
Posts: 4644
Joined: Thu 04 Aug, 2005 06:44
Location: Kyiv
Has thanked: 4 times
Been thanked: 125 times
Contact:

Folders with long names to 8.3 ...

Post by DrKnS » Tue 05 Apr, 2016 20:19

Just copy them using some DOS tools.

User avatar
Mauro72
Posts: 210
Joined: Wed 11 Aug, 2010 00:23
Location: Rosario, Argentina
Been thanked: 9 times

Folders with long names to 8.3 ...

Post by Mauro72 » Thu 07 Apr, 2016 18:08

Done with the excellent plugin Visual Renaming. Template N[1-8].
Too complicated with RESearch plugin :(
Thanks!

Post Reply

Return to “Support and Troubleshooting”