【发布时间】:2010-11-15 00:56:37
【问题描述】:
我想要一个批处理文件来检查filesize 是什么文件。
如果它大于%somany% kbytes,,它应该使用 GOTO 重定向到其他地方。
例子:
[check for filesize]
IF %file% [filesize thing Bigger than] GOTO No
echo Great! Your filesize is smaller than %somany% kbytes.
pause
exit
:no
echo Um... You have a big filesize.
pause
exit
【问题讨论】:
标签: batch-file filesize