#1 2022-07-29 23:19

nkormanik
Member
From: Salt Lake City
Registered: 2015-02-26
Posts: 23

Truncate Filename to 100 Characters

I downloaded some ebooks with really long file names.

Q#1.  Assume these files are in folder "c:\longnames".  How can I tell ReNamer to truncate the filenames to just the first 100 characters?

Q#2.  If the files are 'nested' deep inside a directory hierarchy (so that the total path lengths exceed 260 characters) will the suggested approach need to be modified?  Can it even be accomplished?

Thanks much!

Nicholas Kormanik

Offline

#2 2022-07-30 09:41

Stefan
Moderator
From: Germany, EU
Registered: 2007-10-23
Posts: 1,113

Re: Truncate Filename to 100 Characters

You may want to re-use the old answers: Long Path Solution?





 


Please see HELP and MANUAL in Wiki for more info.
If ReNamer had helped you, please donate a coin to Denis or buy a Pro license for commercial use. (Lite vs Pro)

Offline

#3 2022-07-30 21:56

nkormanik
Member
From: Salt Lake City
Registered: 2015-02-26
Posts: 23

Re: Truncate Filename to 100 Characters

Long path problems have been a huge issue.  Google search shows so many complaints.

If files are located deep within a hierarchy, unless one knows some secret, they are pretty much stuck there.

After extensive searching for solutions, the simple answer appears to be:

\\?\

Appending that to the start of the query.

I'm still trying to figure it out.

Offline

Board footer

Powered by FluxBB