ceraux
Goto Top

Echo date - Variable

Hallo,

ich versuche eine Variable in ein Textdokument auszugeben, jedoch will das nicht wirklich funktionieren:

Batch:
>>uhrzeit1.dat echo ^%date^%

So soll die Textdatei am Ende aussehen:
%date%

Danke im Voraus,
Ceraux

Content-ID: 290412

Url: https://administrator.de/forum/echo-date-variable-290412.html

Ausgedruckt am: 19.02.2025 um 21:02 Uhr

114757
Lösung 114757 08.12.2015 aktualisiert um 19:47:10 Uhr
Goto Top
>>uhrzeit1.dat echo %%date%%
http://www.robvanderwoude.com/escapechars.php

Gruß jodel32