How to? TCC 16.03: copy a file to the clipboard?

May 20, 2009
293
5
57
ITALY
Using TCC 16.03, is it possible to copy a file (not the file content) to the clipboard, so that I can do a past in a directory for example?


Thank You and regards

Rodolfo Giovanninetti
 
May 20, 2009
293
5
57
ITALY
Using TCC 16.03, is it possible to copy a file (not the file content) to the clipboard, so that I can do a past in a directory for example?
Maybe I chose the wrong example. I need to copy a file to the clipboard and then past it as an attachment into a message in outlook.

Thank You again and regards

Rodolfo Giovanninetti
 
May 20, 2009
293
5
57
ITALY
Thank You, but this command copies the filename, not the file itself.
If I run it and then switch to outlook, start a new message, do a paste, inside the message it appears the filename.
Instead, I would like to do a copy from TCC as if I had chose copy from the right click menu in windows explorer.
In that case, when I do paste in outlook, inside the message I get the file as an attachment.

Regards

Rodolfo Giovanninetti
 
May 20, 2008
11,400
99
Syracuse, NY, USA
My 4UTILS plugin has TODROP.
Code:
v:\> help todrop
TODROP /C(lear) | [/A(ppend)] file [file ...] - files to clipboard as CF_HDROP
 
May 20, 2008
11,400
99
Syracuse, NY, USA
Cool! I was going to say that it could be done through a plugin; but that seems churlish since I'm not interested in doing it myself.
Actually, you can paste the file name if you open Outlook's attachment dialog but pasting the CF_HDROP file right into the body of the message is easier.

There's also
Code:
v:\> droptoclip /?
Convert clipboard drop list to quoted FQ filename text
/S(paces) as separators (default newlines)
 
A trick I use when the file is in a large directory and difficult to pick graphically: from a TCC running under TCMD, I run a script that eventually performs
Code:
            cdd/to %@PATH[%$]
            tcfilter %@QUOTE[%@FILENAME[%$]]
Then the file shows alone in TCMD's File view and is easy to drag-and-drop.

From a TCC not running under TCMD, the script eventually performs
Code:
start /pgm "C:\WINDOWS\explorer.exe" /select,%$
 
Similar threads
Thread starter Title Forum Replies Date
Alpengreis Fixed Crash after copy dialog with big TCC.exception.log Support 5
D Differences between TCC and CMD with COPY /b Support 4
M Strange error messages from TCC in FTP copy Support 7
Alpengreis [TCMD v25.00.24] Problem with copy and paste and the # char via mouse in TCC Support 6
mdwyer TCC 13 COPY: specified network name is no longer available. Support 5
T TCC control-C copy operation Support 3
fromano Fixed TCC crashing inside TCMD 17.0.35 after doing a copy Support 11
N TCC v12.10 COPY /F does not work Support 10
rcjackson0926 TCC 11.0 vs 4NT copy and paste Support 2
S TCC 9.02 vs 4NT 8.02 difference - for %a COPY Support 6
MickeyF TCC crashing when copying multiple files (now resolved) Support 6
C COMSPEC constantly reset to TCC.EXE Support 6
rconn News Take Command / TCC / CMDebug / TCC-RT v28 Released Support 0
C How to? starting TCC/TCMD v25 Support 2
CWBillow TCC and TCMD in Powershell Support 6
rconn News Take Command / TCC / CMDebug / TCC-RT 27.01.24 uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 27.01.23 uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT v27.01 Build 22 Uploaded Support 0
L FTYPE in TCC, less quirky than in cmd.exe Support 3
V Set path permanently from within TCC? Support 3
DrusTheAxe Runaway TCC.exception.log filling drive Support 5
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.21 uploaded Support 0
Joe Caverly tcc.exception.log Support 3
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.20 uploaded Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT 27.0.19 Support 0
FreezerBurnt Help making a CMD and TCC compatible batch file Support 7
vefatica SCRIPT ... TCC disappears Support 2
rconn News Take Command / TCC / CMDebug / TCC-RT v27.0.18 Support 0
Jesse Heines Access Denied errors in TCC 27 Support 9
fpefpe How to? tcc inifile (%_ininame) Support 3
M How to? Black TCC Prompt Support 2
M Oracle batch OPatch.bat.bat not working in TCC but correctly in CMD Support 5
Jay Sage Extra TCC Tasks Support 6
vefatica Can I turn off the minimize to tray mechanism in TCC? Support 5
N Command execution slows down in TCC Prompt after a while Support 6
R Upgrade TCMD 19 to TCC 26 Support 1
Joe Caverly Set a batch variable (%1 - %n) when TCC is executing a batch file Support 5
samintz How to? Is this doable in TCC? Support 2
rconn News Take Command / TCC / CMDebug / TCC-RT 26.02.41 Uploaded Support 0
D TCC tab detaching & restarting Support 3
Ó Recent git output not shown on TCC Support 1
P Kill all other instances of tcc from a btm batch file Support 2
L Using TCC.exe through an SSH connection Support 3
M TCC color issue in ConEmu Support 4
Alpengreis UTF-8 problem in TCC related to Python Support 7
Alpengreis Python support for 3.8.3 in TCC v26.x? Support 2
rconn News Take Command / TCC / CMDebug / TCC-RT 26.01.40 uploaded Support 0
Peter Murschall TCC V26.01.3x Debugging has problems with Alias /R Support 1
rconn News Take Command / TCC / CMDebug / TCC-RT 26.0.37 Uploaded Support 0
vefatica TCC waits for Office apps Support 4

Similar threads