Jump to content
Sign in to follow this  
chiners_68

if FileGetSize is less than..

Recommended Posts

chiners_68

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
picaxe

Looks ok to me

Share this post


Link to post
Share on other sites
chiners_68

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  

×