Batch FileSize Query
This can be confusing, because this must be placed between the variable signifier (%) acting corps and the variable characters.
online reputation management for %%I in (queue.txt) Do ( echo %%~zI IF %%~zI LEQ 2 ( echo "Less than..." exit /b ) ELSE ( echo "Greater than..." exit /b ) )
Explanation: The variable being used is
It is querying the text file named queue.txt and to extract the file size property from it, wedge in the
When combining them, you get:
This combination extracts the file size as an integer.