When using the xcopy command is there a way to color code the output result:
For example:
If 5 files were copied then color code the output information only.
Thanks in advance.
Xcopy command: a way to color code output result
Moderator: DosItHelp
Re: Xcopy command: a way to color code output result
Not the whole output lines, no. But you may add a number in other color before each output line:
Of course, this method works with any other command...
Antonio
Code: Select all
xcopy *.txt destination | findstr /N /A:4E "^"
Of course, this method works with any other command...
Antonio