我想要一个批处理文件,它可以检查文件的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