MattX Posted May 23, 2011 Share Posted May 23, 2011 Can anyone tell me why this is returning a zero value ? Is it because some of the folders are hidden before you get to the actual file ? $size = FileGetSize(@UserName & '\Local Settings\Application Data\Microsoft\Outlook\outlook.ost') MsgBox(0, "Size:", $size) Link to comment Share on other sites More sharing options...
sleepydvdr Posted May 23, 2011 Share Posted May 23, 2011 Try this: $size = FileGetSize(@AppDataDir & "\Microsoft\Outlook\outlook.ost") MsgBox(0, "Size:", $size) #include <ByteMe.au3> Link to comment Share on other sites More sharing options...
MattX Posted May 23, 2011 Author Share Posted May 23, 2011 Thanks - I used: @UserProfileDir which also worked. 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