RFE: Option/Switch to use short paths on -export

Discussion related to "Everything" 1.5.
Post Reply
therube
Posts: 5723
Joined: Thu Sep 03, 2009 6:48 pm

RFE: Option/Switch to use short paths on -export

Post by therube »

RFE: Option/Switch to use short paths on -export


So (today) I see, File Export -> m3u / m3u8 should export as "SFN", & I think - but it's not working? (At least it wasn't working over this weekend.)

And then I think, just what is it that I'm doing? And I realize it is not export -> m3u, but rather export to .efu.
And many times I'll send .efu data to other programs, but a lot of times, those other programs can't handle "LFN".
(Oddly, said programs [for whatever reason] ignore the extraneous data [Size, Date, ...] found in the .efu., but do accept the file names - except for LFN.)

So, if there were option/switch to toggle the behavior more generally then just with .m3u, that would be helpful.

I'll export something like:
@es.ex2 -instance 15 %* -export-efu c:\out\sssGO.efu !\Windows\Recent file:

And I'll use the exported file (sssGO.efu) as input to some other program:
START "" C:\WLIB\PLAYERS\mpv.net-71\mpvnet.exe C:\out\sssGO.m3u8

And a sample file name (.efu, as it is) that fails (in multiple players):

Code: Select all

Filename,Size,Date Modified,Date Created,Attributes
"C:\TMP\BRU\xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx012345678999-255.char.name.وبة فنية كبيرة.jpg.txt.NoScriptBug.cleaned.mp4",891237,132992599960069972,,0
(Where a SFN of same would work.)

So if there were a -sfn switch, I could:
@es.ex2 -instance 15 %* -sfn -export-efu c:\out\sssGO.efu !\Windows\Recent file:

to send LFN as shorts, while leaving shorts alone.


Maybe... (& of lessor value I'd expect), a -sfna (Short File Names, Always), which might help if you were running in to 2K/8K command line or drag&drop or other similar character length limits.
void
Developer
Posts: 19870
Joined: Fri Oct 16, 2009 11:31 pm

Re: RFE: Option/Switch to use short paths on -export

Post by void »

I have put on my ES TODO list to add a -max-path option.
I have on my TODO list to add a -short-full-path option.

Thank you for the suggestions.
Post Reply