문제

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