Batch (Win7): Kombinierte Ausgabe mit echo?
Hallo,
ist es eigentlich möglich, mit echo einen Text gleichzeitig auf dem Bildschirm und in eine Datei auszugeben?
Oder muß man es immer doppelt schreiben oder
Vielen Dank schonmal!
Gruß
Ben
ist es eigentlich möglich, mit echo einen Text gleichzeitig auf dem Bildschirm und in eine Datei auszugeben?
Oder muß man es immer doppelt schreiben oder
@echo off
setlocal EnableDelayedExpansion
set x="Das ist ein Text" & echo !x!
echo %x%>Datei.erw
Vielen Dank schonmal!
Gruß
Ben
Please also mark the comments that contributed to the solution of the article
Content-Key: 309395
Url: https://administrator.de/contentid/309395
Printed on: April 18, 2024 at 09:04 o'clock
1 Comment