I want to have a batch file which checks what the filesize
is of a file.
If it is bigger than %somany% kbytes,
it should redirect with GOTO to somewhere else.
Example:
[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
Just an idea:
You may get the filesize by running command "dir":
Then again it returns so many things.
Maybe you can get it from there if you look for it.
But I am not sure.