MattX Posted May 23, 2011 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)
sleepydvdr Posted May 23, 2011 Posted May 23, 2011 Try this: $size = FileGetSize(@AppDataDir & "\Microsoft\Outlook\outlook.ost") MsgBox(0, "Size:", $size) #include <ByteMe.au3>
MattX Posted May 23, 2011 Author Posted May 23, 2011 Thanks - I used: @UserProfileDir which also worked.
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