How to? Display filename being copied on a single line

Oct 17, 2008
19
0
Coral Springs, FL
TCC 16.03.55 Windows 7 [Version 6.1.7601]
TCC Build 55 Windows 7 Build 7601 Service Pack 1

To make a long story short, I have the command line below that does almost everything I want:

*Copy /egstz %DataDrive%\*.doc?;*.xls?;*.ppt? %BackupDrive%\

However, I would like to display the filename currently being copied on the same line (no vertical scrolling), in which case I would remove the /t and also the /g (only used to verify copy progress).

Is this possible?

Thanks in advance.
 
Apr 13, 2010
307
7
61
The Hague
It is not a standard option of the COPY command, as you probably have gathered from the help text.

Now, keeping in mind that this is probably a Call-Me-Crazy-But-I-Like-It-Anyway feature, are you asking for any ideas to simulate this behaviour? In other words, are you planning to spend time developing your own version of COPY? Derived, wrapped, plugin or otherwise?

Regards, DJ.
 
May 20, 2008
11,400
99
Syracuse, NY, USA
This crude attempt (at something similar) works but makes me wonder why anyone would want it. The line overwrites itself so quickly that it's almost useless.
Code:
do f in *.exe;*.btm ( copy /n %f test\ | ffind /k /m /t"=>" & echo ^e[2A^e[K )
 
Similar threads
Thread starter Title Forum Replies Date
K Fixed Prompt display will be shifted after use dir to display a filename with Chinese. (v25.00.28 x64) Support 18
G v28 Display Issue Support 7
samintz WAD Display wrapping issue Support 5
Jesse Heines How to? How to display picture creation date with dir command Support 6
B Fullwidth Unicode forms display incorrectly Support 5
D Need to set Take Command font size when switching to high DPI display Support 0
T FFind - can we display n number of lines after the find? Support 2
Joe Caverly PSHELL Blank Line Display Support 2
Alpengreis The TCMD Display problems and font size ... Support 2
vefatica Display of special characters in aliases. Support 25
R How to? Display text same as in CMD Support 14
T TCC display issue Support 1
MikeBaas How to? SELECT: exclude files / display prompt Support 2
D WAD TASKBAR options LogOff and ShutDown do not display a dialog Support 2
rps How to? Portable TCMD display problem Support 2
L Windows 8.1 version display Support 5
mfarah How to? Getting pdir to display relative paths. Support 2
D Folders pane display problem when starting Support 4
D Folders pane display problem after rename Support 0
C How to? Multi-Display Configuration Support 5
A WAD Limitations on display of unicode punctuation marks Support 11
N Incorrect display under TCMD 13 Support 1
Joe Caverly Display the VIEW window in a Take Command tab window Support 2
L FFIND no result display Support 10
B TCC v12 display double problem Support 2
B Bdebugger / IDE editor doesn't display called batch file Support 1
nikbackm UTF-8 display in TCMD Support 1
Peter Bratton IDE environment window display Support 0
G Display setting for Tabbed Toolbar Support 1
MickeyF Nice alias display Support 0
M Is bash-like filename completion possible? Support 3
vefatica PDIR with fixed-width unqualified filename? Support 2
D When copying/moving, appending " (2)" to filename when the target file already exist. Support 7
gworley Virtual network drive filename completion doesn’t get directories Support 0
Joe Caverly CMD.EXE and filename(1).ext Support 3
C How to? @replace[a comma,_,filename] Support 5
D Exclude extension from filename completion Support 1
yjchung Filename completion broken?? Support 1
JohnQSmith Filename completion Support 8
S 16.00.41 - filename completion locks up TCC Support 14
R WAD issue with filename completion with system and hidden files Support 8
R How to? How to prevent filename completion for some file types? Support 3
M Filename completion with forward slashes Support 10
C How to? tell is @full[filename] contains any special JPSosft special chars Support 1
James Miller How to? filename completion question Support 1
J Fixed Filename completion does not quote filenames containing ^ Support 1
A How to? Filter a list by numeric number within filename Support 28
newbie Change percent-sign to anything-else in filename Support 24
Jay Sage Filename Completion in Take Command vs. TCC Support 1
J Filename Completion Window Support 1

Similar threads