Jump to content

Recommended Posts

Posted

@inuyasha...If you are looking to delete only the hidden files then do this...

1. Use FileFindFirstFile & FileFindNextFile functions...to get all the names of the files in a certain folder.

2. Use FileGetAttrib to get only the files that have the "hidden" attribute.

3. Like Weaponx stated...then use FileDelete to delete only the hidden files.

I dont know why you would do this but please ignore this if this is not what u wanted todo.

  • 3 years later...
Posted

you can make use of Dos comment through AutoIt for example "run(@COMSPEC & " /c del /A:R /A:H $Filenamewithpath)"

------------------------------------------------------"You are never a loser,until you quit trying"------------------------------------------------------

Posted

you can make use of Dos comment through AutoIt for example "run(@COMSPEC & " /c del /A:R /A:H $Filenamewithpath)"

Or you can use the native AutoIt command FileSetAttrib .

William

  • 4 weeks later...

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
  • Recently Browsing   0 members

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