Jump to content
Sign in to follow this  
joell

Filegetsize For Hidden Files

Recommended Posts

joell

Is there a way to obtain this ? (without changing attributes of course... :D


registry victim

Share this post


Link to post
Share on other sites
emmanuel

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)

Share this post


Link to post
Share on other sites
emmanuel

FileFindFirstFile and FileFindNextFile along with FileGetAttrib.

Lar

so, 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)

Share this post


Link to post
Share on other sites
scriptkitty

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.

Share this post


Link to post
Share on other sites
joell

Thanks for all replies :D

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×