This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- something similar to setfileinfo for multiple files?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Oct 21, 2011
01:58 PM
something similar to setfileinfo for multiple files?
Hi, I would like to remove the read-only attribute of multiple files in the same subdirectory prior to deletion. Is there something like setfileinfo, but for multiple files? I noticed that using a wildcard does not work. Thank you!
(3) Replies
‎Oct 21, 2011
04:36 PM
Hi There,
Without deviating from InstallScript, you would use a FindAllFiles loop to handle all the files in the folder matching a certain wildcard:
http://helpnet.acresso.com/robo/projects/installshield17langref/LangrefFindAllFiles_Example.htm
If you wanted something a lot less verbose, I think the DOS 'Attrib' command supports wildcards and setting/clearing the Read Only attribute.
Without deviating from InstallScript, you would use a FindAllFiles loop to handle all the files in the folder matching a certain wildcard:
http://helpnet.acresso.com/robo/projects/installshield17langref/LangrefFindAllFiles_Example.htm
If you wanted something a lot less verbose, I think the DOS 'Attrib' command supports wildcards and setting/clearing the Read Only attribute.