Hallo MudGuard.
gibt es einen einfachen Weg (sprich: ohne zusätzliche Programme), in einem Batchfile (im cmd.exe) eine Verzweigung zu machen, wenn eine Datei die Größe 0 hat?
Wie sieht es mit „ChkSize.bat“ auf dieser Seite aus?
:: Check specified file's actual size
FOR /F "tokens=3* delims= " %%A IN ('DIR %1 /-C /N ^| FIND /I "%~nx1"') DO SET ACTSIZE=%%A
Alternativ bin ich noch auf diesen Thread gestoßen; die dortigen Vorschläge sehen vielversprechend aus.
(Meine Suche: „windows batch filesize“.)
Einen schönen Montag noch.
Gruß, Ashura
--
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
„It is required that HTML be a common language between all platforms. This implies no device-specific markup, or anything which requires control over fonts or colors, for example. This is in keeping with the SGML ideal.“
[HTML Design Constraints: Logical Markup]
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|
„It is required that HTML be a common language between all platforms. This implies no device-specific markup, or anything which requires control over fonts or colors, for example. This is in keeping with the SGML ideal.“
[HTML Design Constraints: Logical Markup]