Error message while moving files

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
sk2107
Posts: 321
Joined: Sun Aug 07, 2022 8:48 pm

Error message while moving files

Post by sk2107 »

Hi,

I faced a problem with "Advanced move to folder" option that some times I get an error message "Error 3: unable to move .... Retry?"

I think the problem is related to the length of full path (which could be more than 259 "not sure")

is there a way to solve this issue ?

with lots of thanks.
void
Developer
Posts: 16471
Joined: Fri Oct 16, 2009 11:31 pm

Re: Error message while moving files

Post by void »

Error 3 is path not found.

Please try forcing a rebuild and retry your advanced move:
  • In Everything, from the Tools menu, click Options.
  • Click the Indexes tab on the left.
  • Click Force Rebuild.
  • Click OK.
Does the issue persist?
sk2107
Posts: 321
Joined: Sun Aug 07, 2022 8:48 pm

Re: Error message while moving files

Post by sk2107 »

Hello,

I tried that but had the same result for my existing files.

but I tried another test; is to create a long path (more than 259 characters) and it was ok. therefore I took a list of my failed files and I found that it has two factors :
1. path is more than 255 character or so.
2. the full path contains some foreign characters (paths length less than that succeeded).

does this lead to anything?

thank for your patience.

Regards
therube
Posts: 4888
Joined: Thu Sep 03, 2009 6:48 pm

Re: Error message while moving files

Post by therube »

What version of Everything?
foreign characters
Paste sample file (path) names?
sk2107
Posts: 321
Joined: Sun Aug 07, 2022 8:48 pm

Re: Error message while moving files

Post by sk2107 »

Version 1.5.0.1315a (x64)


"F:\TB_3A\Recover_2020\downlads_C_19-04-2020\downloads\2\mysql\share\ukrainian\jpgs_all_dups_Final\jpgs_all\O\TB_3\hd_120\usb_e\rasha\sk2\sk2\sit_lab_collection\sites_lab\__finals\bk_all\0000\sanad.kiswani.net\photogallery\photo00017197\_vti_cnf\نوبة فنية كبيرة.jpg"

"Q:\dups_collection0\dups_collection3\J\Mobiles_14-04-2017aaa\J01\Mobiles_14-04-2017aaa\J01\Mobiles_14-04-2017aaa\J01\SG1_22-07-2020_dups\WH_2000_jpgs\L01\jpgs_vol\I01\Mobiles_14-04-2017\collll_SDs_2016_2017\note4-11-09-2015\.tubemate\img\يا أخي على أيش الكدر - محمد الحداد.jpg"

thanks
therube
Posts: 4888
Joined: Thu Sep 03, 2009 6:48 pm

Re: Error message while moving files

Post by therube »

Tried all types of things, copy/paste, Advanced Copy to Folder, but not getting any failures...
So whatever the trigger is, I'm not pulling it...

Code: Select all

C:\Local\SANDBOX\CLEAN\drive\E\Program Files\Mozilla Firefox 91.0\PROFILE\storage\default\moz-extension+++334f1b5b-4f41-4a3f-b743-0da5d57ee10d^userContextId=4294967295\idb\3647222921wleabcEoxlt-eengsairo.files999999999999999999999999999999999999999999999999999999999\xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx012345678999-255.char.name.part.incl.extension.txt

C:\Local\SANDBOX\CLEAN\user\current\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\CVGW786H\xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx012345678999-255.char.name.وبة فنية كبيرة.jpg.txt

C:\Local\SANDBOX\CLEAN\user\current\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE555999\CVGW786H\xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx012345678999-255.char.name.وبة فنية كبيرة.jpg.txt

C:\Local\SANDBOX\CLEAN\user\current\AppData\Local\Microsoft\Windows\Temporary Internet Files\Content.IE5\CVGW786H\وبة فنية كبيرة.jpg.txt
sk2107
Posts: 321
Joined: Sun Aug 07, 2022 8:48 pm

Re: Error message while moving files

Post by sk2107 »

Hello,

I created this sample and tested it, I got the same error (please note that I added extra letters in the first folder using "Advanced copy to Folder")
can you please test this example as I getting the same error. (sorry it seems that it has nothing to do with foreign characters, only length problem)


old Format:
D:\0000xx_1234567890_1234567890_123\11111111111111111111\22222222222222222222\33333333333333333333\44444444444444444444\55555555555555555555\66666666666666666666\77777777777777777777\88888888888888888888\99999999999999999999\10101010101010101010\1234567890.txt
New Format:
D:\0000xx_1234567890_1234567890_123456\11111111111111111111\22222222222222222222\33333333333333333333\44444444444444444444\55555555555555555555\66666666666666666666\77777777777777777777\88888888888888888888\99999999999999999999\10101010101010101010\1234567890.txt

this the error message:
2022-08-20 02 43 59.jpg
2022-08-20 02 43 59.jpg (119.25 KiB) Viewed 8982 times
thank you in advance
void
Developer
Posts: 16471
Joined: Fri Oct 16, 2009 11:31 pm

Re: Error message while moving files

Post by void »

Thank you for the details.

I am having trouble producing the issue my end.

Everything might be having trouble creating the following directory:
D:\0000xx_1234567890_1234567890_123456



After this error message is shown, is the "D:\0000xx_1234567890_1234567890_123456" directory created?
-If not, it might indicate a permission issue.
Everything might not have enough permissions to create D:\0000xx_1234567890_1234567890_123456.
This can commonly occur if the D: drive is a mapped network drive.
Does Everything have write permission to your D: drive?


I am wondering if this is a weird short path issue, although I haven't been able to produce the issue my end.
Could you please try disabling short paths and see if the issue persists:
Copy and paste the following into the Everything search box:
/shell_short_path=0
Press ENTER in the Everything search box.
If successful, shell_short_path=0 is shown in the status bar for a few seconds.
Please try the copy again, does the issue persist?
sk2107
Posts: 321
Joined: Sun Aug 07, 2022 8:48 pm

Re: Error message while moving files

Post by sk2107 »

Hello,

thank you for your reply.

Regarding permissions, Everything is running as an administrator and D: is a local drive, so I think security is not the issue as the lesser path lengths are running smooth.

After running /shell_short_path=0 I got the same message , this time a folder was created (it didn't before) but not complete (the last folder \10101010101010101010 was not created). I think that's why file was not created; because the path is not fully created.

this is the original file path:
d:\0000xx_1234567890_1234567890_123\11111111111111111111\22222222222222222222\33333333333333333333\44444444444444444444\55555555555555555555\66666666666666666666\77777777777777777777\88888888888888888888\99999999999999999999\10101010101010101010\1234567890.txt

and this is result after running /shell_short_path=0 and applying Advanced copy to folder (as described in my previous reply):
d:\0000xx_1234567890_1234567890_123_123456\11111111111111111111\22222222222222222222\33333333333333333333\44444444444444444444\55555555555555555555\66666666666666666666\77777777777777777777\88888888888888888888\99999999999999999999\


hope this helps in solving the issue.

with lots of thanks.
void
Developer
Posts: 16471
Joined: Fri Oct 16, 2009 11:31 pm

Re: Error message while moving files

Post by void »

Thanks for the information.
I didn't know CreateDirectory has a shorter path limit than normal...
You learn something new each day..

Normally, paths have a limit of 259 characters.

I'll have a fix in the next alpha update.
sk2107
Posts: 321
Joined: Sun Aug 07, 2022 8:48 pm

Re: Error message while moving files

Post by sk2107 »

Thank you so much. and congratulations for the great accomplishment.

Best Regards
therube
Posts: 4888
Joined: Thu Sep 03, 2009 6:48 pm

Re: Error message while moving files

Post by therube »

Oh.

So in this case, the [lower case d:, example above] (output) path part is 246 chars, which is fine.
But once you add the name part, another 14 chars, it is that which pushes it past the limit & breaks things.

Had the name part been 11 or less chars, that too would have been fine.

Neat.
void
Developer
Posts: 16471
Joined: Fri Oct 16, 2009 11:31 pm

Re: Error message while moving files

Post by void »

Everything 1.5.0.1316a fixes an issue with creating directory with a path longer than 247 characters.
sk2107
Posts: 321
Joined: Sun Aug 07, 2022 8:48 pm

Re: Error message while moving files

Post by sk2107 »

Thanks a lot.

so appreciated.

Best Regards
Post Reply