Jump to content

Filegetsize For Hidden Files


Recommended Posts

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)

Link to comment
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

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...