Вопрос

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