Hallo!
Ich will auf wunsch Ergebnisse in einer Protokolldatei speichern, wie mach ich das am besten?

Hallo!
Ich will auf wunsch Ergebnisse in einer Protokolldatei speichern, wie mach ich das am besten?
Hallo!
Ich habe da noch nicht so die ahnung ich bin totaler Anfänger und arbeite gerade alte Aufgaben hefte durch ums mir selbst beizubringen!
Und ich denke ich habe soweit alles richtig gemacht bloß das speichern der Protokolldatei weiß ich nicht. Also soweit war ich:
@echo off
find "%1" %2 /l /%3 /%
for %%A IN (%2) Do echo %2
if/%3=/c goto Find1
if/%4=/c goto Find1
:Find1
find "%1" %2 /l/c
for %%A IN (%2) Do echo %2
so und nun müßte auf wunsch noch das speichern der Protokolldatei kommen!