
Variable in Batch-Ausgabe hinzufügen
Erstellt am 08.03.2013
Hallo Igor Sorry, ich habe das immer im selben Verzeichnis gestetet. Jetzt müsste es klappen: Gruss drifter ...
8
KommentareVariable in Batch-Ausgabe hinzufügen
Erstellt am 08.03.2013
Hallo Igor Damit die Ausgabe stimmt, muss man es so anpassen: for /f "tokens=* " %%i in ('dir /b /ta "C:\Test\"') do echo %%~ti ...
8
KommentareVariable in Batch-Ausgabe hinzufügen
Erstellt am 08.03.2013
Hallo Igor Ah, sorry. Das Problem lag beim Leerzeichen. Ist nun angepasst: for /f "tokens=* " %%i in ('dir /b /ta "C:\Test\*.*"') do echo ...
8
KommentareVariable in Batch-Ausgabe hinzufügen
Erstellt am 07.03.2013
Hallo Ig0r So sollte es gehen: for /f %%i in ('dir /b /ta "D:\Test\*.*"') do echo %%~ni, %%~ti>>"C:\Zielordner.txt" Gruss drifter ...
8
Kommentare