138701
Apr 19, 2019
1159
3
0
For-Schleife 7
Hallo zusammen,
Mit
bekomme ich z.B. diese Datei:
Mit
Schreibe ich an jede Zeile dieser Datei ein "s" daran.
Bei anderen Dateien hat es funktioniert...
Was ist bei dieser Datei das Problem, warum kommt dabei nur noch:
heraus?
Mit
ipconfig /displaydns | find "Eintragsname" >test.txt
bekomme ich z.B. diese Datei:
Eintragsname . . . . . : jimdo.com
Eintragsname . . . . . : collector.bunchbox.co
Eintragsname . . . . . : www.cenote.de
Eintragsname . . . . . : www.cenote.de
Eintragsname . . . . . : anycast.pixel.adsafeprotected.com
Eintragsname . . . . . : static.plista.com
Eintragsname . . . . . : static-origin.plista.com
Mit
for /f %%i in (test.txt) do echo %%is>>test2.txt
move test2.txt test.txt
Schreibe ich an jede Zeile dieser Datei ein "s" daran.
Bei anderen Dateien hat es funktioniert...
Was ist bei dieser Datei das Problem, warum kommt dabei nur noch:
Eintragsnames
Eintragsnames
Eintragsnames
Eintragsnames
Eintragsnames
Eintragsnames
Eintragsnames
Please also mark the comments that contributed to the solution of the article
Content-Key: 442860
Url: https://administrator.de/contentid/442860
Printed on: April 26, 2024 at 10:04 o'clock
3 Comments
Latest comment
Was ist bei dieser Datei das Problem, warum kommt dabei nur noch:
Weil du noch immer nicht das For Schleifen Tutorial hier im Forum gelesen hast.for /f "delims=" %%i in (test.txt) do echo %%is>>test2.txt
Ja, hmm, da hatte dir doch oben ein Herr namens @139374 schon den Hinweis auf delims geliefert und du ignorierst es erneut, tja da kann man nur gratulieren und dir zur Nachprüfung viel Erfolg wünschen ...