fraudh8er Posted January 19, 2005 Share Posted January 19, 2005 I have been trying to do this with no good results. you think i would be able to figoure out how to check for EOF and see if that value is 0. but the over all quesiton is if that will actually work? thanks for all you help Link to comment Share on other sites More sharing options...
SlimShady Posted January 19, 2005 Share Posted January 19, 2005 Dim $Filename, $FileSize $Filename = @DesktopDir & "\Test.ini" $FileSize = FileGetSize($Filename) If $FileSize <= 1 Then MsgBox(64, "Test", "I'm pretty sure the file is empty.") Link to comment Share on other sites More sharing options...
fraudh8er Posted January 19, 2005 Author Share Posted January 19, 2005 thanksDim $Filename, $FileSize $Filename = @DesktopDir & "\Test.ini" $FileSize = FileGetSize($Filename) If $FileSize <= 1 Then MsgBox(64, "Test", "I'm pretty sure the file is empty.")<{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now