Pergunta

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)

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top