joell Posted May 10, 2004 Posted May 10, 2004 Is there a way to obtain this ? (without changing attributes of course... registry victim
emmanuel Posted May 10, 2004 Posted May 10, 2004 have you tried it? nothing in the help file says it wouldn't work... "I'm not even supposed to be here today!" -Dante (Hicks)
emmanuel Posted May 10, 2004 Posted May 10, 2004 FileFindFirstFile and FileFindNextFile along with FileGetAttrib.Larso, that way you'd be able to get a list of the hidden files, using filegetattrib to differenciate which are hidden... I'd kinda assumed you knew the name of the hidden file you wanted to get the size of... "I'm not even supposed to be here today!" -Dante (Hicks)
scriptkitty Posted May 10, 2004 Posted May 10, 2004 hidden files shouldn't be a problem, but there are some files that don't read so well.See this topic for alternate ways to read file size and atributes.:http://www.autoitscript.com/forum/index.php?showtopic=2288 AutoIt3, the MACGYVER Pocket Knife for computers.
joell Posted May 11, 2004 Author Posted May 11, 2004 Thanks for all replies In fact I tried on a remote station: Local $pHiberPresent = Round(FileGetSize("\\" & $currPuter & ".computers.testlab.local\C$\hiberfil.sys")) I was able to obtain informations for standard files, but not for the hiberfil.sys or pagefile. scriptkitty' suggestion will solve my current problem... registry victim
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