Fixed Cut and paste in TC's file/folder view does not remove file

Jan 12, 2014
426
7
Switzerland, SO
Confirmed in TCMD 18.00.19 x64 (Win 7) via Folder/List View too. Drop in FOLDER works - only a drop direct in LIST has this behaviour (here) ...

tcmd.jpg
 
Last edited:
May 20, 2008
11,400
99
Syracuse, NY, USA
In the list view, r-click and "Cut" a file. Go to another folder and r-click and "Paste". The copied to the second folder but not deleted from the first (unlike explorer).
 
Jan 12, 2014
426
7
Switzerland, SO
It's a Windows control, and Windows is handling the cut & paste.
But the context menu is not the same for this special purpose - I mean the DROP in the LIST VIEW - see my picture above. If I drop in the FOLDER VIEW, then it's the normal context menu from windows - and then it works.
 
Jan 12, 2014
426
7
Switzerland, SO
But the drop/paste doesn't have anything to do with the cut.
Okay.

Sorry for my persistence. If I make a right click in LIST VIEW on a folder and then PASTE, it works. If I make a right click in LIST VIEW on a "emtpy/white" area, then an own context menu appears (NOT from windows?! - at least I haven't see a such context menu before somewhere) and it works not.

Context menu from TC ...

This "own" context menu does not react to the "cut".

tcmd-jpg.853


Context menu from Windows would be ...

tc.jpg


If I am right, the solution could be: replace this special context menu through a "right" context menu from windows. I suppose: this context would react to the "cut".

EDIT: Note also: even the original Windows context menu does not react to a cut till the PASTE is maked! So, in this sense, the PASTE has to do with the cut.
 
Last edited:

rconn

Administrator
Staff member
May 14, 2008
12,345
150
Jan 12, 2014
426
7
Switzerland, SO
Ok, it's NOT a TC context menu.

Can you replace this WINDOWS context menu with ANOTHER windows context menu - I suggest that of Windows EXPLORER?

Because: the context menu in List view with click on "empty space" is definitive NOT the same as the "normal" windows context menu (at least it looks different). I have NEVER seen a such context menu ANYWHERE before.

Or in other words: why not take the known windows context menu (see last picture) for this purpose?

However: the function "cut and paste" does NOT work with the actual implemented solution for this purpose (and the user probably does not check this).

If there is no possibility (with replacing the context menu) - the "cut and paste" function should be "deactivated" (no menu (entry)) for this purpose IMHO.
 

rconn

Administrator
Staff member
May 14, 2008
12,345
150
TC is using the documented, publicly available control (& its internal context menus). Windows Explorer is using an undocumented, custom control. If you can convince Microsoft to document & make it available, I can switch to that.

The issue isn't with Paste, which works just fine. It's with the Cut, which isn't passing the necessary info through the clipboard object so that Paste can recognize that it's a cut & not a copy.
 
Jan 12, 2014
426
7
Switzerland, SO
No, I do not have such an influence to microsoft, I believe - I wish, I would have.

My intention was (also): to avoid problems - even for users without this knowledge - with a "cut and paste" which is not always a "cut and paste" ...

You say, it's the CUT, ok.

Then, then let me guess: you can't fix the cut, and you can't remove the paste in that List window (unless a directory is "selected"), right?

If you say: WE can't fix it: how other developer have implemented such things (for example in Speed Commander or Total Commander) or even in Freeware. Maybe you could ask somebody or look in the source (if it's not closed source of course) or something like that. I don't know, I'm not a programmer/developer.

It would just great if this bug could be fixed, and it IS a bug, or not?
 
Last edited:
Jan 12, 2014
426
7
Switzerland, SO
I had a play with cut and paste prior to updating to build 23. Worked ok here. Paste copied the file to the new directory and then deleted the old copy. Now its disabled as you said.
Cut and paste with DROP a FILE ON a DIRECTORY NAME WAS NOT A PROBLEM, that was not broken (also not within List View) ...

Drop a cutted file within List View NOT on a directory name - instead, drop it elsewhere on a "blank" area ("white space") ... that was the problem ...
 
Last edited:
Yes I noted that, when pasting onto a directory name no problem but seized up when trying on the file listing. I didn't quite understand the problem but was confirmed when I see the cut option now greyed out.
 
Similar threads
Thread starter Title Forum Replies Date
thorntonpg file explorer - short cut keys Support 1
D How cut in TCC tab window Support 5
D How does Cut work? Support 8
vefatica Cut/delete Support 3
vefatica Copy/Paste anomaly Support 4
Alpengreis [TCMD v25.00.24] Problem with copy and paste and the # char via mouse in TCC Support 6
Jay Sage Problem with Context Menu Copy+Paste+Run Key Assignment Support 7
A How to? Copy+Paste in TCMD tabs with Ctrl-Shift-Ins? Support 5
E Cannot paste dollar sign into TCC on Windows 10 1803 Support 7
rps Documentation "Copy+Paste+run" question Support 2
S Paste in TCC/TCMD window is very slow [v20.0.22] Support 13
Alpengreis How to? Copy & Paste without linebreak within TCMD Support 13
cgunhouse Ctrl + Shift keys and Paste (drop down menu and V) Support 4
samintz Hotkeys for copy/paste do not work in BDEBUGGER Support 4
J Paste corruption Support 6
S WAD Paste issue Support 2
Joe Caverly Copy Paste Run Support 12
W Copy+Paste without breaking long lines as default? Support 1
rcjackson0926 TCC 11.0 vs 4NT copy and paste Support 2
J Extra blank lines during paste Support 6
J History file load hangs if file has complete garbage in it... Support 1
jdanielp Cannot step into and/or call another .bat file when debugging .bat file Support 2
JohnQSmith New online help file wrong logo Support 7
Jay Sage WAD Possible Bug With OPTION Command With @FILE Support 5
samintz How to? swap endianness in a binary file Support 12
vefatica `Back quotes` - command line vs. batch file Support 5
fpefpe How to? batch file size Support 2
Jay Sage Issues With TCMD File Explorer Support 0
FreezerBurnt Help making a CMD and TCC compatible batch file Support 7
Joe Caverly @FILESIZE and NTFS File Stream Support 1
Joe Caverly Embedding an .EXE (or other file) into a .BTM Support 8
U Command help on file names Support 5
S Concatenate all playlists into 1 file Support 22
Joe Caverly Set a batch variable (%1 - %n) when TCC is executing a batch file Support 5
Joe Caverly Rename file that begins with Emoji Support 7
Joe Caverly PSHELL and NTFS File Streams Support 2
P Kill all other instances of tcc from a btm batch file Support 2
D ffind hangs on large file Support 18
Alpengreis Documentation Minor issue in help file for view /E Support 1
fpefpe batch file ending early Support 18
J Licesne file location Support 1
K robocopy cancelling batch file processing Support 28
Jay Sage TCMD Crashes with "tctoolbar /c /r file" Support 5
A Unable to pass batch file arguments unaltered Support 18
MikeBaas How to...extract a string from a .json-file? Support 10
vefatica LIBRARY and file name completion? Support 4
D What does the file "..\Everything\Run history.csv" store? Support 5
H Takecommand.pdf failed not a pdf file Support 6
Joe Caverly DIRectory Colorization in v25 Help File Support 0
C show file description? with dir? Support 8

Similar threads