Jump to content

delete file hidden


inuyasha
 Share

Recommended Posts

@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.

Link to comment
Share on other sites

  • 3 years later...

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"------------------------------------------------------

Link to comment
Share on other sites

  • 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
 Share

  • Recently Browsing   0 members

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