loFSO = Createobject("Scripting.FileSystemObject") filepath = 'U:\questpdm\picture\whatever.jpg' loFile = loFSO.Getfile(filePath) IF transform(loFile.Size)<= '500000' MESSAGEBOX("File Size is OK") ELSE MESSAGEBOX("File Size is not OK - File Size="+TRANSFORM(loFile.Size)) ENDIFThe message coming back is File size is not OK. The size of my file is 79KB. If I run this the value of lofile.Size is 79997.