Sign in to follow this  
Followers 0
chiners_68

if FileGetSize is less than..

3 posts in this topic

#1 ·  Posted (edited)

Have i done this correct..?

Im trying to get a files size & if its less than my end value then cary on.

If FileGetSize(@WindowsDir & "\EBC2001.BMP") < 1572864 Then

1572864 = 1.5MB

Edited by chiners_68

Share this post


Link to post
Share on other sites



Looks ok to me

Share this post


Link to post
Share on other sites

Tested & working a treat.

just wasnt sure on how to do the < in AutoIt

Pretty standard & straight forward really.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0