Saved .efu loses folder closing \

Found a bug in "Everything"? report it here
Post Reply
therube
Posts: 5056
Joined: Thu Sep 03, 2009 6:48 pm

Saved .efu loses folder closing \

Post by therube »

A re-Saved .efu loses a folders closing \.

Save test1.efu
Open test1.efu
Export same to test2.efu

Code: Select all

test1.efu will show a directory name like: "c:\tmp\" (with a closing \)
test2.efu will show a directory name like: "c:\tmp"  (without a closing \)
void
Developer
Posts: 17152
Joined: Fri Oct 16, 2009 11:31 pm

Re: Saved .efu loses folder closing \

Post by void »

I am unable to reproduce the issue.

How are you opening test1.efu?
Double click? (maybe the efu is being opened in an old version of Everything? Help->About)
-or-
From within Everything -> File -> Open File List...
-or-
Are you opening in the File List Editor from Tools -> Options -> File List Editor?



When you open test1.efu, please add the Attribute columns and check the Folders have D for the attribute.

Have you disabled Tools -> Options -> Advanced -> efu_folder_append_path_separator ?
tuska
Posts: 1098
Joined: Thu Jul 13, 2017 9:14 am

Re: Saved .efu loses folder closing \

Post by tuska »

void wrote: Mon Dec 04, 2023 10:06 pm When you open test1.efu, please add the Attribute columns and check the Folders have D for the attribute.

Have you disabled Tools -> Options -> Advanced -> efu_folder_append_path_separator ?
Attribute "D" is always present for folders (.efu) - regardless of whether
efu_folder_append_path_separator has the status "false" or "true".

Everything Options - 1.5.0.1361a (x64)
In my case, this option was set to "false".

I then set it manually to "true".
After clicking on "Restore Defaults" ... "Reset (!)" > Apply, it remained set to "true".

The backslash was then present in the path for the folders in the .efu files.
________________________________________________
Everything 1.5.0.1361a (x64) portable in C:\Everything\
void
Developer
Posts: 17152
Joined: Fri Oct 16, 2009 11:31 pm

Re: Saved .efu loses folder closing \

Post by void »

Thanks tuska,

Just adding a note here:

efu_folder_append_path_separator was disabled by default in early versions of the alpha.

Is Everything ignoring this option somewhere when you export?? -I'm looking into the issue..
tuska
Posts: 1098
Joined: Thu Jul 13, 2017 9:14 am

Re: Saved .efu loses folder closing \

Post by tuska »

void wrote: Tue Dec 05, 2023 2:23 am Is Everything ignoring this option somewhere when you export??
No,
if efu_folder_append_path_separator = true, the backslash for folders is present in .efu files as expected.

It also works for me if I first save test1.efu, then open it in Everything with a double click and save it again -> test2.efu.
________________________________________________
Everything 1.5.0.1361a (x64) portable in C:\Everything\
therube
Posts: 5056
Joined: Thu Sep 03, 2009 6:48 pm

Re: Saved .efu loses folder closing \

Post by therube »

efu_folder_append_path_separator
Ah, that's it.

in Profile NAS, efu_folder_append_path_separator=1 (true)
in Profile OLD, efu_folder_append_path_separator=0 (false)

The original source .efu was from Profile NAS, so it did have the closing \.
I then opened that .efu (File | Open File List...) in Profile OLD.
I then saved (Export) that .efu (otherwise unchanged) from within Profile OLD.

Profile OLD, having efu_folder_append_path_separator=0, removed the closing \.


Never realized such an option existed.
And now with /efu_folder_append_path_separator=1, I'm good :-).
tuska
Posts: 1098
Joined: Thu Jul 13, 2017 9:14 am

Re: Saved .efu loses folder closing \

Post by tuska »

<OffTopic>
Advanced > ☑ Show only modified settings: csv
I have also reset the csv_folder_append_path_separator option and set the status to "true".
</OffTopic>
Post Reply