Sign in to follow this  
Followers 0
joell

Filegetsize For Hidden Files

5 posts in this topic

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



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

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

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  
Followers 0