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
- :
- how to loop over files in a folder
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 26, 2010
02:57 PM
how to loop over files in a folder
Hi,
How can I loop over all the files in a folder?
I need to clear their read-only attribute. Applying the attribute just to the folder doesn't apply it to the files it contains.
Thanks
How can I loop over all the files in a folder?
I need to clear their read-only attribute. Applying the attribute just to the folder doesn't apply it to the files it contains.
Thanks
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 26, 2010
04:54 PM
If you're using InstallScript, FindAllFiles should do it.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 29, 2010
04:29 AM
You can also use LaunchAppAndWait and "attrib -r *.* /s"
regards
Markus
regards
Markus