Echo in Batch schreibt vorab eine 1
Hallo zusammen
ich verstehe was kleines nicht...
In einem Batch schreibe ich:
Rufe ich den Batch unter Windows 10 auf, dann erscheint mir in der Kommandozeile:
Kann mir jemand sagen, woher diese Zahl 1 kommt?
Die wird auch nicht in test.txt geschrieben.
Herzlichen Dank und schöne Grüsse
Daniel
ich verstehe was kleines nicht...
In einem Batch schreibe ich:
echo hallo > test.txt
pause
Rufe ich den Batch unter Windows 10 auf, dann erscheint mir in der Kommandozeile:
echo hallo 1>text.txt
Kann mir jemand sagen, woher diese Zahl 1 kommt?
Die wird auch nicht in test.txt geschrieben.
Herzlichen Dank und schöne Grüsse
Daniel
Please also mark the comments that contributed to the solution of the article
Content-Key: 321410
Url: https://administrator.de/contentid/321410
Printed on: April 19, 2024 at 06:04 o'clock
1 Comment
Hallo,
das ist der Ausgabekanal bzw dessen Handle
0 = Standard-Eingabe
1 = Standard-Ausgabe
2 = Fehler-Ausgabe
https://www.microsoft.com/resources/documentation/windows/xp/all/proddoc ...
~Arano
das ist der Ausgabekanal bzw dessen Handle
0 = Standard-Eingabe
1 = Standard-Ausgabe
2 = Fehler-Ausgabe
https://www.microsoft.com/resources/documentation/windows/xp/all/proddoc ...
~Arano