Error moving file to other disk
Moderators: Hacker, petermad, Stefan2, white
Error moving file to other disk
1. place cursor on c:\filename.ext
2. press shift+F5 (copy)
3. insert d:\ in front of default filename
it works.
1. same-as-before
2. press shift+F6 (move)
3. same-as-before
i get: "Error: Cannot read c:\filename.ext!"
using 7.55 32 bit (17.06.2010) on Xp sp3
2. press shift+F5 (copy)
3. insert d:\ in front of default filename
it works.
1. same-as-before
2. press shift+F6 (move)
3. same-as-before
i get: "Error: Cannot read c:\filename.ext!"
using 7.55 32 bit (17.06.2010) on Xp sp3
- Vochomurka
- Power Member
- Posts: 816
- Joined: 2005-09-14, 22:19 UTC
- Location: Russia
- Contact:
Why do you press the redundant key (Shift)? You should press just F5 and F6, respectively. Both ways work.
Single user license #329241
PowerPro scripts for Total Commander
PowerPro scripts for Total Commander
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
2aleksazr
According to Help file:
SHIFT+F5 Copy files (with rename) in the same directory
So you're telling TC to copy file which already exists into the same folder. Since there is no c:\filename.ext an error occurs.
According to Help file:
SHIFT+F5 Copy files (with rename) in the same directory
So you're telling TC to copy file which already exists into the same folder. Since there is no c:\filename.ext an error occurs.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
Pressing only F5/F6 copies/moves to other pane, givingVochomurka wrote:Why do you press the redundant key (Shift)? You should press just F5 and F6, respectively. Both ways work.
the new default name consisting of both directory name and filename.
Pressing shift+F5/F6 gives only filename in the copy/move edit box,
which is good if I want to just copy/move a file from C: to A:\
For example, I can just insert the floppy and shift+F5 to copy a file
to the floppy w/o opening the destination in the other pane.
Shift+F6 fails here.
Maybe this isn't the purpose of these two (shift) commands,
but one of them works, thus, the other should also work.
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I tried both, and I was asked for Admin rights in both cases because normally users aren't allowed to create new files in c:\ root, only folders. Maybe your file was locked/opened by some other program? In this case, you may still be able to copy it, but not to move it.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I'm not asked anything, since I'm always logged in as Admin.ghisler(Author) wrote:I tried both, and I was asked for Admin rights in both cases because normally users aren't allowed to create new files in c:\ root, only folders. Maybe your file was locked/opened by some other program? In this case, you may still be able to copy it, but not to move it.
I'm pretty sure that it wasn't locked/opened.
Please read again my first post, since I'm copying/moving
FROM C: (to D:), not to C:
I've also tried copy/move from D: to C: with the same results.
I should add that, beneath the "Error: Cannot read c:\filename.ext!"
is displayed the Rename/Move dlg box with correct From and To fields.
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Well, it just means that TC gets an error when it calls CopyFileEx. It could also be a write error, sometimes it's not possible to distinguish the two with CopyFileEx.
Maybe you can find out the reason with a tool like "process monitor" from www.sysinternals.com ?
Maybe you can find out the reason with a tool like "process monitor" from www.sysinternals.com ?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
I can confirm aleksazr's report, also when not using CopyFileEx (using big file copy mode in stead).
The question It why it is only possible to move a file to another directory using Shift+F6, when this directory is on the same drive, but not to a different drive.
It works if I mark more than one file and press Shift+F6 - then I can move the files to another drive - just not when it is done inline.
The question It why it is only possible to move a file to another directory using Shift+F6, when this directory is on the same drive, but not to a different drive.
It works if I mark more than one file and press Shift+F6 - then I can move the files to another drive - just not when it is done inline.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Sorry, I cannot help you because I cannot reproduce the problem.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
The problem is Shift+F6 is an inline rename, instead of providing a DialogBox like F6, F5, Shift+F5, Ctrl+Shift+F5 and Ctrl+Shift+F6 do.
Thus you can't insert a drive-letter into an inline-rename.
There very well should be a same-panel move like same-panel copy that is separate from the current inline-rename, which doesn't match what all the other copy/move commands do.
Interestingly, you can't do it when you select a folder and subDirBranchView on that folder, and attempt to rename/move a file by inserting a drive-letter --- Nor can you do a search for files within a folder, feed to listbox, and rename/move a given file by changing the drive letter.
(I have F2 used as inline-rename, as every program I use that can rename anything supports that key).
Thus you can't insert a drive-letter into an inline-rename.
There very well should be a same-panel move like same-panel copy that is separate from the current inline-rename, which doesn't match what all the other copy/move commands do.
Interestingly, you can't do it when you select a folder and subDirBranchView on that folder, and attempt to rename/move a file by inserting a drive-letter --- Nor can you do a search for files within a folder, feed to listbox, and rename/move a given file by changing the drive letter.
(I have F2 used as inline-rename, as every program I use that can rename anything supports that key).
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
Thus you can't insert a drive-letter into an inline-rename.
Well, it works if the drive letter is the current drive.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar