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)

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top