cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
websurf
Level 3

How to delete a hidden file ?

Is there a way to delete a file that has hidden attribute? I am trying to delete the a file under C:\WINDOWS\Installer (the folders and files underneath it are hidden). I know that InstallScript's DeleteDir or DeleteFile functions won't work. Many thanks for replying.
Labels (1)
0 Kudos
(2) Replies
tschley
Level 3

Is this an InstallScript project? If so, try using SetFileInfo to remove the hidden attribute and then delete the file.
0 Kudos
FrankZabelli
Level 2

You need to try the Long Path Tool, helped me.
0 Kudos