- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using Intel Visual Fortan Compiler Ed 11.1 for Windows with Visual Studio 2008. I am running Win XP SP3.
Does anyone have an example of how to list the contents of a directory and get the file attributes of each file found?
thank you
A-P
Does anyone have an example of how to list the contents of a directory and get the file attributes of each file found?
thank you
A-P
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
See if the following will suffice.
[fortran]program listdir use ifwin call systemqq('attrib c:lang*.*') end program listdir [/fortran]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How would I list the directory and capture the name of the files into a variable that can be used for other processing?
thank you
a-p
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Look at the on-disk documentation for Fortran library routine GETFILEINFOQQ.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page