Multi Commander Support Forum

Multi Commander => Support and Feedback => Topic started by: Bodtje on September 16, 2013, 13:39:44

Title: Error 4000
Post by: Bodtje on September 16, 2013, 13:39:44
Hi,

from time to time when I'm trying to copy or move a folder from one HD to another I get the message: Error 4000. When I click the Abort button a  new window pops up stating: Unexpected Error. Write Thread should not be running. But is (sic!) is... (ID 3001).
Can someone please tell me what this means, what is going wrong and how I can avoid this error?

Yours gratefully,
Bodtje
Title: Re: Error 4000
Post by: Mathias (Author) on September 16, 2013, 13:55:37
Error 4000 is that an unknown error happened that it did not know how to handle.

"Unexpected Error. Write Thread..." message is because of a timing issue that happen on some machines under very rare conditions.

Are the "Error 4000" and "Unexpected Error , Write Thread..." message always shown after each other ?

What version are you running ?
Title: Re: Error 4000
Post by: Bodtje on September 16, 2013, 14:10:59
Thanks for your quick reply.

I'm using v. 3.5 (build 1500) 64 edition under Windows 8.
And yes, when the first message show the second does also after hitting the Abort button.
Title: Re: Error 4000
Post by: Mathias (Author) on September 16, 2013, 14:19:53
Ok, then the second is probably because of the unhanded error of the first.

Are there any thing special with the copy operation that is aborted. ?  network ?, ftp ?, archive ? NAS, same drives or copy to different drives , or other information that can be valid.

Title: Re: Error 4000
Post by: Bodtje on September 16, 2013, 14:23:01
No, the situation is this one: I've got an external HD onto which I download a torrent. Once the folder is ready (completely downloaded), I rename the folder and try to copy this folder to another external HD.
(I already tried to switch of the bittorrent client, but the error keeps popping up). That's when the error shows.
Title: Re: Error 4000
Post by: Mathias (Author) on September 16, 2013, 14:28:32
Strange.  Im not able to recreate it.. Error 4000 happens because it tries to do something that the device did not like or support, exactly what is impossible to say

You can enable the filesystem log and set log level to debug level in MC  under  Core settings -> Logging (tab) that might give more information on what fails.
Title: Re: Error 4000
Post by: Bodtje on September 16, 2013, 14:53:29
Thanks.

Log file attached  ;)
Title: Re: Error 4000
Post by: Mathias (Author) on September 16, 2013, 15:03:22
Thanks.

Log file attached  ;)

I will take a look at the log..

(Btw I removed the attachment from your post.  )
Title: Re: Error 4000
Post by: Mathias (Author) on September 16, 2013, 15:19:30
The file copy fails directly when trying to write.  0 bytes was copied before the error 4000 is shown.
It is strange that the internal error code is not shown there. I can not see if it failed to read the file or if it failed to write to the target file.

Lets to a test.

Test if you can to view the file with the extension *.BUP in the video subfolder with the internal viewer. (F3 or F1 depending on Keysetup).
(You will see lots of binary text and garbage I think. But it is a test to see if it is possible to read the data in the file)

Also can you write another (any other) file to the same location as your are trying to copy to ? (Test if it really works to write files to that location)


Title: Re: Error 4000
Post by: Bodtje on September 16, 2013, 15:39:36
OK, I did some tests.

I can read the data in the BUP files.
I did some copy tests with other files from the same directory to the same target directory. Strangely enough this error shows only when the folder I try to copy contains a VIDEO_TS folder and video files.
All other folders copy fine.
Title: Re: Error 4000
Post by: Mathias (Author) on September 16, 2013, 16:51:23
Strange..

So if you create a new empty folder next to the VIDEO_TS folder and copy the file to that folder it works ?

Sound like you got something that block the writing of files. like AntiVirus or something else like that, But why AV program would block writing into a VIDEO_TS folder I do not know. Might be some other kind of program that blocks it.

I did some googling and there are virus that hide them self as VIDEO_TS.exe so maybe your AV software get confused ?
Title: Re: Error 4000
Post by: Bodtje on September 16, 2013, 17:00:08
I only use Microsoft Defender, no third party AV...
No problem copying the files within the same drive.

Strange indeed..
Thanks for investigating. Hope you'll stumble upon the solution some time  :D
Title: Re: Error 4000
Post by: Mathias (Author) on September 16, 2013, 17:47:05
I do not think the problem is in MC (except to handle the error better) since it will not block files, the blocking is outside of MC.
Title: Re: Error 4000
Post by: Bodtje on September 16, 2013, 20:35:57
You could be right of course, but I haven't the problem when I'm doing the same in Windows Explorer nor in XYplorer, which I was using until now.
Title: Re: Error 4000
Post by: Mathias (Author) on September 16, 2013, 21:29:55
The strange thing is that MC does not have any code in it to block files being written to folder with special name. If files are being block it is out of the control of MC.  also everybody should then have that problem. Something external must be interfering with the writing. Any why it only affect MC I don't know. might be because multicommander.exe is not "digitally signed" and the thing that blocks therefore does not trust it and thats why it blocks it. I don't know, never seen that behavior before.. very strange.
Title: Re: Error 4000
Post by: ice-man on September 17, 2013, 07:36:41
This problem sounds extremely weird.

That files created in a folder with a special name should be halted from being written sounds wrong. My guess is that something else is the problem.
Some vital information on how the problem is behaving must be missing. Because of what I read here, it does not make sense.

If I had the problem I would check if I could make it happen on many different location and drives or if it only was in one location.  Also If it happen if I created the folder manually (F7) and then copy different types of files into it from different places/drives, And if I could create the folder from MC and then write the file by saving text from notepad.exe. Check if some other program have any locks on that folder. (I would check using process explorer) and I would have run sysinternals process monitor to check what is happening. (But that is a bit of a advanced tool) And more.. changing one thing a the time. Because there must be some something special with this except the folder name. Or some other information that seams unimportant is missing.

But that is just me. :)



Title: Re: Error 4000
Post by: Jungle on September 17, 2013, 10:28:46
Bodtje,
make a video of what you are doing, maybe it'll help. And try to close all other applications (except antivirus/firewall).
Title: Re: Error 4000
Post by: Bodtje on September 17, 2013, 10:36:55
Thanks everyone for your suggestions.

What still puzzles me is why this only occurs in MC (in the 32 bit version too) and not in Windows Explore, XYplorer nor xplorer².

I like MC but my little finger tells me to choose the stupid solution and switch to xplorer²...  :-\
Title: Re: Error 4000
Post by: 78-45-33 on September 21, 2013, 17:04:10
I have a similar problem, also giving error 4000

Problem occurs only when using M.C., not in Total commander or Win Explorer.
Copying any file(s) to a external HDD (USB) giving the error.
File can be a txt file or movie files, just anything, and the problem occurs.

Did already format it twice, without any result; when I read this post, I tried Total Commander... no problem.
System is a Medion P7300/Win7.

Title: Re: Error 4000
Post by: Mathias (Author) on September 21, 2013, 17:15:08
I have a similar problem, also giving error 4000

Problem occurs only when using M.C., not in Total commander or Win Explorer.
Copying any file(s) to a external HDD (USB) giving the error.
File can be a txt file or movie files, just anything, and the problem occurs.

Did already format it twice, without any result; when I read this post, I tried Total Commander... no problem.
System is a Medion P7300/Win7.

Screenshots:
The other user had it only on files in folders called VIDEO_TS so not exactly the same issue.
The question is what is different about your system and your setup and everybody else that has no problem.
So far nobody have been able to figure that out.

log files are better then screen shots because there are many many different reasons why this can happen.
Title: Re: Error 4000
Post by: 78-45-33 on September 21, 2013, 17:38:09
Hope this helps...

Code: [Select]
2013-09-21 16:59:28.927 File Operations error : 4000
2013-09-21 16:59:34.658 [5544] WriteThread is Running. It should be Paused or Suspended. (3) (Thread state 3)
2013-09-21 16:59:35.688 File Operations error : 165 File operation aborted. File might be incomplete
2013-09-21 17:35:03.443 File Operations error : 4000
2013-09-21 17:35:08.323 [2892] WaitForState : wait for 6 , current state is 6
2013-09-21 17:35:08.323 File Operations error : 165 File operation aborted. File might be incomplete
2013-09-21 17:35:34.763 File Operations error : 165 File operation aborted. File might be incomplete
Title: Re: Error 4000
Post by: Mathias (Author) on September 21, 2013, 17:46:35
No, The log does not contains the extended debug information .
You can enable the filesystem log and set log level to debug level in MC  under  Core settings -> Logging (tab) that might give more information on what fails.

If you do not want to post it you can send it to me at http://multicommander.com/upload/
Title: Re: Error 4000
Post by: 78-45-33 on September 21, 2013, 18:05:38
With logging level on debug(debug-beginning/end) I get the same result in log file:

Code: [Select]
2013-09-21 17:56:57.045 File operations log started.
2013-09-21 17:57:11.330 File Operations error : 4000
2013-09-21 17:57:15.840 [4416] WriteThread is Running. It should be Paused or Suspended. (3) (Thread state 3)
2013-09-21 17:57:17.110 File Operations error : 165 File operation aborted. File might be incomplete
2013-09-21 18:01:49.100 File operations log started.
2013-09-21 18:01:50.210 File operations log started.
2013-09-21 18:01:59.330 File Operations error : 4000
2013-09-21 18:02:01.090 [2608] WriteThread is Running. It should be Paused or Suspended. (3) (Thread state 3)
2013-09-21 18:02:02.040 File Operations error : 165 File operation aborted. File might be incomplete
Title: Re: Error 4000
Post by: Mathias (Author) on September 21, 2013, 18:12:52
No.. if you enabled it correct a copy operation should look like

2013-09-21 18:12:30.951 Start FileOperation (Copy/Move/Delete) Settings
2013-09-21 18:12:30.951 '-- Chunk size  : 524288
2013-09-21 18:12:30.951 '-- Buffer size : 10485760
2013-09-21 18:12:30.951 '-- Read Flags  : 0x30
2013-09-21 18:12:30.951 '-- Write Flags : 0x30
2013-09-21 18:12:30.951 '-- Flags       : 0x2600204
2013-09-21 18:12:30.962 Allocating Buffers (Chunks = 20 , Chunks size = 524288 Bytes , Buffer size = 10485760 Bytes)
2013-09-21 18:12:30.962 Prepare Write - Create new file on target. : "R:\Temp\DD\TempFile.dat"
2013-09-21 18:12:30.963 Prepare Copy - Asyncrone mode enabled.
2013-09-21 18:12:30.963 ThreadWrite created
2013-09-21 18:12:30.980 [12528] Wait for WriteThread to finish and pause.
2013-09-21 18:12:30.980 [12528] WriteThread is now paused.
2013-09-21 18:12:30.980 Copied : "C:\Temp\TempFile.dat" => "R:\Temp\DD\TempFile.dat" - 9728 bytes in 16ms - Average Speed : 608000 bytes/sec (593,8 KB/sec)
2013-09-21 18:12:30.980 Add path to Refresh Queue : "R:\Temp\DD\"

That is for a successful copy. for one with error there would be other items too but the first part should be the same..
Title: Re: Error 4000
Post by: 78-45-33 on September 21, 2013, 18:25:19
Had to use debug (eval) to get  a debug report, it's sent to your upload map ( http://multicommander.com/upload/ )
Title: Re: Error 4000
Post by: Mathias (Author) on September 21, 2013, 18:48:09
From the log I can see that first call to windows to write the data fails. So windows allows the file to be open for writing but when it starts to write data to the file it does not like it.  Something is stopping it from writing the data. This is not normal.  The internal error code is not shown in the log. And it is not one of the standard errors.
I will add the internal windows error code to the log in the next beta.
But if you are handy you can see it using Process Monitor (http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx), But that tool is not easy to use.

But why Windows does not allow the file data to be written is strange.
The question remains.. what is unique on the few systems that have this issue ?
Title: Re: Error 4000
Post by: 78-45-33 on September 21, 2013, 20:09:20
ProcMon is part of Sysinternals Suite, I already got it.

First I'm not a programmer at all; but only strange things I see in ProcMon log is buffer overflow and
invalid device request.

I saved the ProcMon log, could You take a look into it?  I'll upload it to yr website.
No hurry ofcourse as I can sent files other ways to the ext.HDD.

T.i.a.

Title: Re: Error 4000
Post by: Mathias (Author) on September 21, 2013, 21:46:52
buffer overflow you see there are normal. it is not the bad kind. :)
But If you saved the log you can upload it and I can take a look.
Title: Re: Error 4000
Post by: 78-45-33 on September 21, 2013, 22:30:42
PML log uploaded
Title: Re: Error 4000
Post by: Mathias (Author) on September 22, 2013, 14:39:28
PML log uploaded
Did not see anything it it.. To much noise.

But there is a new Beta out (build 1516) It will output the internal window error code when it fails to write data.
Title: Re: Error 4000
Post by: nxtzero on September 27, 2013, 12:25:21
I'm moving a large amount of files and data between my desktop's internal disk and my usb portable drive and I'm also getting error 4000. After aborting the error window I can resume moving the files without errors but after some time I get the same error. I'm on version 3.5 (1500) 64 bits windows 7.
Title: Re: Error 4000
Post by: Mathias (Author) on September 27, 2013, 12:40:08
I'm moving a large amount of files and data between my desktop's internal disk and my usb portable drive and I'm also getting error 4000. After aborting the error window I can resume moving the files without errors but after some time I get the same error. I'm on version 3.5 (1500) 64 bits windows 7.

As said above. build 1516+ also shows the internal error code. And that might give you an idea on why it is happening.

Also Error 4000 mean that an unhanded error happen.. so the reason for getting 4000 does not have to be the same for everyone.

Title: Re: Error 4000
Post by: nxtzero on September 27, 2013, 13:18:15
From version 1500 i can still see on the log file:

Code: [Select]
2013-09-27 11:10:23.699 Prepare Write - Create new file on target. : "S:\Backup\nxtdesktop\Backup\Backup1\Backup\TIBETE\Users\Sofia\AppData\Local\Microsoft\Windows\Temporary Internet Files\Low\Content.IE5\ZYGFS5Z2\4CCAZMS63LCAR3NS27CAA96AW6CAW6TYFJCAGUZWXLCAPBEQJ1CA5CMMOOCAHIF3NMCA48BU08CA1TP2TLCAUW5NMECA1RL2QCCAC3G1ZLCAFD7KOXCAQEVV8UCAQP3ZATCATFX71SCA7H8AXQCAZ2H43V.txt"
2013-09-27 11:10:23.703 Prepare Copy - Asyncrone mode enabled.
2013-09-27 11:10:23.719 [7612] Wait for WriteThread to finish and pause.
2013-09-27 11:10:23.719 [7612] WriteThread is now paused.
2013-09-27 11:10:23.719 Copied : "D:\Backup\Backup1\Backup\TIBETE\Users\Sofia\AppData\Local\Microsoft\Windows\Temporary Internet Files\Low\Content.IE5\ZYGFS5Z2\4CCAZMS63LCAR3NS27CAA96AW6CAW6TYFJCAGUZWXLCAPBEQJ1CA5CMMOOCAHIF3NMCA48BU08CA1TP2TLCAUW5NMECA1RL2QCCAC3G1ZLCAFD7KOXCAQEVV8UCAQP3ZATCATFX71SCA7H8AXQCAZ2H43V.txt" => "S:\Backup\nxtdesktop\Backup\Backup1\Backup\TIBETE\Users\Sofia\AppData\Local\Microsoft\Windows\Temporary Internet Files\Low\Content.IE5\ZYGFS5Z2\4CCAZMS63LCAR3NS27CAA96AW6CAW6TYFJCAGUZWXLCAPBEQJ1CA5CMMOOCAHIF3NMCA48BU08CA1TP2TLCAUW5NMECA1RL2QCCAC3G1ZLCAFD7KOXCAQEVV8UCAQP3ZATCATFX71SCA7H8AXQCAZ2H43V.txt" - 512 bytes in 15ms - Average Speed : 34133 bytes/sec (33,3 KB/sec)
2013-09-27 11:10:23.719 Local file was written to using NoSystemCache - Fixing Filesize : "\\?\S:\Backup\nxtdesktop\Backup\Backup1\Backup\TIBETE\Users\Sofia\AppData\Local\Microsoft\Windows\Temporary Internet Files\Low\Content.IE5\ZYGFS5Z2\4CCAZMS63LCAR3NS27CAA96AW6CAW6TYFJCAGUZWXLCAPBEQJ1CA5CMMOOCAHIF3NMCA48BU08CA1TP2TLCAUW5NMECA1RL2QCCAC3G1ZLCAFD7KOXCAQEVV8UCAQP3ZATCATFX71SCA7H8AXQCAZ2H43V.txt"
2013-09-27 11:10:23.723 Current file size : "512", Bytes past EOF : 487
2013-09-27 11:10:23.726 RemoveAttribute (0x4 and 0x2 from 0x20 = 0x020)
2013-09-27 11:10:23.726 Failed to remove attribute - Unknown error
2013-09-27 11:10:23.726 File Operations error : 4000
2013-09-27 11:10:23.728 Show Error Dialog from own thread
2013-09-27 11:10:28.787 Error Dialog Result : 0x1 , StepFlags : 0x800001
2013-09-27 11:10:28.788 Abort file operations request.
2013-09-27 11:10:28.788 Abort file operations request.

Failed to remove attribute - Unknown error. When retrying it asks me to replace the file and it continues.
I'll try with the beta version.
Title: Re: Error 4000
Post by: nxtzero on September 27, 2013, 13:26:16
On version 3.5.1 (1519) 64 bits, got the same:
Code: [Select]
2013-09-27 11:21:21.682 Source and target of MOVE operation is on DIFFERENT disks/volumes. So do a Copy and then Delete.
2013-09-27 11:21:21.682 CMoveOperation::DeleteProcessedFolders
2013-09-27 11:21:21.682 Prepare Write - Create new file on target. : "S:\Backup\nxtdesktop\Backup\Backup1\Backup\TIBETE\Users\Sofia\AppData\Local\Microsoft\Windows\Temporary Internet Files\Low\Content.IE5\ZYGFS5Z2\L4CAU297HWCAU0Y264CAKNE7XCCAL0HYD3CA97XKBHCAJ27LXGCA06AI5TCA4MTBMICA1AJJSZCAA7S6QICAJ2GZZJCAYMFDDCCAOCBYSOCAJBXH4ICA4OIMLQCAYW1GV1CA7LCH08CAG76X93CAV2LD9K.txt"
2013-09-27 11:21:21.685 Prepare Copy - Asynchronous mode enabled.
2013-09-27 11:21:21.701 [2884] Wait for WriteThread to finish and pause.
2013-09-27 11:21:21.701 [2884] WriteThread is now paused.
2013-09-27 11:21:21.701 Copied : "D:\Backup\Backup1\Backup\TIBETE\Users\Sofia\AppData\Local\Microsoft\Windows\Temporary Internet Files\Low\Content.IE5\ZYGFS5Z2\L4CAU297HWCAU0Y264CAKNE7XCCAL0HYD3CA97XKBHCAJ27LXGCA06AI5TCA4MTBMICA1AJJSZCAA7S6QICAJ2GZZJCAYMFDDCCAOCBYSOCAJBXH4ICA4OIMLQCAYW1GV1CA7LCH08CAG76X93CAV2LD9K.txt" => "S:\Backup\nxtdesktop\Backup\Backup1\Backup\TIBETE\Users\Sofia\AppData\Local\Microsoft\Windows\Temporary Internet Files\Low\Content.IE5\ZYGFS5Z2\L4CAU297HWCAU0Y264CAKNE7XCCAL0HYD3CA97XKBHCAJ27LXGCA06AI5TCA4MTBMICA1AJJSZCAA7S6QICAJ2GZZJCAYMFDDCCAOCBYSOCAJBXH4ICA4OIMLQCAYW1GV1CA7LCH08CAG76X93CAV2LD9K.txt" - 512 bytes in 16ms - Average Speed : 32000 bytes/sec (31,3 KB/sec) Read data time 1ms (500,0 KB/sec),  Write data time 1ms (500,0 KB/sec)
2013-09-27 11:21:21.701 Local file was written to using NoSystemCache - Fixing Filesize : "\\?\S:\Backup\nxtdesktop\Backup\Backup1\Backup\TIBETE\Users\Sofia\AppData\Local\Microsoft\Windows\Temporary Internet Files\Low\Content.IE5\ZYGFS5Z2\L4CAU297HWCAU0Y264CAKNE7XCCAL0HYD3CA97XKBHCAJ27LXGCA06AI5TCA4MTBMICA1AJJSZCAA7S6QICAJ2GZZJCAYMFDDCCAOCBYSOCAJBXH4ICA4OIMLQCAYW1GV1CA7LCH08CAG76X93CAV2LD9K.txt"
2013-09-27 11:21:21.704 Current file size : "512", Bytes past EOF : 487
2013-09-27 11:21:21.719 RemoveAttribute (0x4 and 0x2 from 0x20 = 0x020)
2013-09-27 11:21:21.719 Failed to remove attribute - Unknown error
2013-09-27 11:21:21.719 File Operations error : 4000
2013-09-27 11:21:21.721 Show Error Dialog from own thread
2013-09-27 11:21:27.320 Error Dialog Result : 0x1 , StepFlags : 0x800001
2013-09-27 11:21:27.320 Abort file operations request.
2013-09-27 11:21:27.320 Abort file operations request.
Title: Re: Error 4000
Post by: Mathias (Author) on September 27, 2013, 13:37:53
From version 1500 i can still see on the log file:

Code: [Select]
2013-09-27 11:10:23.726 RemoveAttribute (0x4 and 0x2 from 0x20 = 0x020)
2013-09-27 11:10:23.726 Failed to remove attribute - Unknown error

Failed to remove attribute - Unknown error. When retrying it asks me to replace the file and it continues.
I'll try with the beta version.

Yes Tries to remove file attributes fails. so not the same error as the other user.
The target is a network device ? NAS ? Linux ? Windows ? Mac ?

It does a MOVE. And after the file is copied it tries to remove Hidden/System attribute from source file so that it can be deleted. Maybe there are file permissions or something that prevent file attributes from being changed.

Title: Re: Error 4000
Post by: nxtzero on September 27, 2013, 14:33:49
I'm on windows 7 professional 64 bits.
The source is an windows dynamic volume made of 2 internal hard disks of 2TB.
The target is a portable drive, usb 3.0, 2TB, 2,5". After retrying the error appears on another file.

My target directory has a bigger name than my source directory and I'm also having trouble with some files that MC doesn't copy and show no error message and if I try with windows explorer it says that the destination path is too big. But if I rename the source file name and add one character it moves the file with no error on MC.

Code: [Select]
2013-09-27 12:09:17.708 Start FileOperation (Copy/Move/Delete) Settings
2013-09-27 12:09:17.708 '-- Chunk size  : 262144
2013-09-27 12:09:17.708 '-- Buffer size : 262144
2013-09-27 12:09:17.708 '-- Read Flags  : 0x0
2013-09-27 12:09:17.708 '-- Write Flags : 0x0
2013-09-27 12:09:17.708 '-- Flags       : 0xe00202
2013-09-27 12:09:17.766 Allocating Buffers (Chunks = 1 , Chunks size = 262144 Bytes , Buffer size = 262144 Bytes)
2013-09-27 12:09:17.766 Source file does not exists. Skipping : D:\Backup\Backup1\Backup\TIBETE\Users\Sofia\Anestesia\Artigos e afins\Simuladores e Valencia\Valencia-Ventilacao Mecanica\BIBLIOGRAFÍA TALLERES\TALLER 12. Ventilación de Protección Pulmonar. Reclutamiento Alveolar\Tomographic Study of the Inflection Points.pdf
2013-09-27 12:09:17.766 Skip request of file operations found.
2013-09-27 12:09:23.123 Renamed file : "D:\Backup\Backup1\Backup\TIBETE\Users\Sofia\Anestesia\Artigos e afins\Simuladores e Valencia\Valencia-Ventilacao Mecanica\BIBLIOGRAFÍA TALLERES\TALLER 12. Ventilación de Protección Pulmonar. Reclutamiento Alveolar\Tomographic Study of the Inflection Points.pdf" -> "D:\Backup\Backup1\Backup\TIBETE\Users\Sofia\Anestesia\Artigos e afins\Simuladores e Valencia\Valencia-Ventilacao Mecanica\BIBLIOGRAFÍA TALLERES\TALLER 12. Ventilación de Protección Pulmonar. Reclutamiento Alveolar\Tomographic Study of the Inflection Points1.pdf"
2013-09-27 12:09:24.520 FileOperationDlg - AutoDetect RW Stratergy - "Normal, Same disk"
2013-09-27 12:09:25.549 Start FileOperation (Copy/Move/Delete) Settings
2013-09-27 12:09:25.549 '-- Chunk size  : 262144
2013-09-27 12:09:25.549 '-- Buffer size : 262144
2013-09-27 12:09:25.549 '-- Read Flags  : 0x0
2013-09-27 12:09:25.549 '-- Write Flags : 0x0
2013-09-27 12:09:25.549 '-- Flags       : 0xe00202
2013-09-27 12:09:25.603 Allocating Buffers (Chunks = 1 , Chunks size = 262144 Bytes , Buffer size = 262144 Bytes)
2013-09-27 12:09:25.603 Source and target of MOVE operation is on DIFFERENT disks/volumes. So do a Copy and then Delete.
2013-09-27 12:09:25.603 Prepare Write - Create new file on target. : "S:\Backup\nxtdesktop\Backup\Backup1\Backup\TIBETE\Users\Sofia\Anestesia\Artigos e afins\Simuladores e Valencia\Valencia-Ventilacao Mecanica\BIBLIOGRAFÍA TALLERES\TALLER 12. Ventilación de Protección Pulmonar. Reclutamiento Alveolar\Tomographic Study of the Inflection Points1.pdf"
2013-09-27 12:09:26.074 Copy file using synchronous copy mode.
2013-09-27 12:09:26.076 Copied : "D:\Backup\Backup1\Backup\TIBETE\Users\Sofia\Anestesia\Artigos e afins\Simuladores e Valencia\Valencia-Ventilacao Mecanica\BIBLIOGRAFÍA TALLERES\TALLER 12. Ventilación de Protección Pulmonar. Reclutamiento Alveolar\Tomographic Study of the Inflection Points1.pdf" => "S:\Backup\nxtdesktop\Backup\Backup1\Backup\TIBETE\Users\Sofia\Anestesia\Artigos e afins\Simuladores e Valencia\Valencia-Ventilacao Mecanica\BIBLIOGRAFÍA TALLERES\TALLER 12. Ventilación de Protección Pulmonar. Reclutamiento Alveolar\Tomographic Study of the Inflection Points1.pdf" - 206923 bytes in 1ms - Average Speed : 206923000 bytes/sec (197,3 MB/sec) Read data time 1ms (197,3 MB/sec),  Write data time 1ms (197,3 MB/sec)

Only one time I saw a popup from MC that said the file name would be too big and I've chosen the last option (large path).
Title: Re: Error 4000
Post by: nxtzero on September 27, 2013, 17:59:51
I tried the following to understand the problem:

Code: [Select]
D:\>mkdir aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
then created a file aaaaaaa.txt on that directory. These seem to be the max length for both types on command prompt.

If I try to rename aaaaaaa.txt to  aaaaaaab.txt on command prompt it gives an error. If I try on Windows Explorer it doesn't even allow me to enter more characters. On MC I can rename to a larger name and the name is visible on Windows Explorer and Command Prompt but I cannot rename it anymore unless I use MC.

If I delete to the recycle bin it gives error 4000 and if I try do delete without the recycle bin MC deletes it. However if I assign the hidden attribute and try do delete it I get again error 4000.
Title: Re: Error 4000
Post by: Mathias (Author) on September 27, 2013, 18:39:00
I tried the following to understand the problem:

then created a file aaaaaaa.txt on that directory. These seem to be the max length for both types on command prompt.

If I try to rename aaaaaaa.txt to  aaaaaaab.txt on command prompt it gives an error. If I try on Windows Explorer it doesn't even allow me to enter more characters. On MC I can rename to a larger name and the name is visible on Windows Explorer and Command Prompt but I cannot rename it anymore unless I use MC.

If I delete to the recycle bin it gives error 4000 and if I try do delete without the recycle bin MC deletes it. However if I assign the hidden attribute and try do delete it I get again error 4000.


Deleting extra long path to recycle bin will never work. Windows recycle bin stuff does not support that.
Title: Re: Error 4000
Post by: nxtzero on September 27, 2013, 19:14:58
I agree, however there should be a message instead of error 4000.  ::)