Question

When I execute the following batch file

@echo off
echo Text from echo
xcopy foobarium

I get the following output:

File not found - foobarium
0 File(s) copied
Text from echo

Obiously the order of the outputs is swapped. How can I ensure that the output appears in the order the commands are specified in?

(This is on Win7)

Was it helpful?

Solution

It seems that this is a bug in clink (a utility that provides bash-like auto-completion for cmd.exe). I've filed a bug report.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top