Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Include, %A_ScriptDir%\ELP.ahk
- FPath := "C:\Data"
- ConvertedFiles := 0
- Loop
- {
- File := ELP_LoopFilePattern(FPath "\*.*", 1, 1, FileInformation)
- If (!File)
- Break
- If (InStr(ELP_FileGetAttributesFromFI(FileInformation), "H"))
- {
- ELP_FileSetAttributes("-H", File, 0, 0, 0)
- ConvertedFiles ++
- }
- }
- MsgBox Finished removing hidden on all files in %FPath%`n`n%ConvertedFiles% files unhidden.
Advertisement
Add Comment
Please, Sign In to add comment