How to? Display filename being copied on a single line

Oct 17, 2008
15
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
243
5
59
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
9,524
64
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 )