Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

How to? Display filename being copied on a single line

Oct
19
0
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.
 
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.
 
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

Back
Top