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