- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi.
Is there a way so that VF can create a folder? My program needs to write some output results, and I would like them to be written in different folders, created automatically by the program.
Thanks.
Andrea
Is there a way so that VF can create a folder? My program needs to write some output results, and I would like them to be written in different folders, created automatically by the program.
Thanks.
Andrea
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Andrea try this
subroutine mkdir(name,ier)
use ifport
implicit none
! creates a directory
! Arguments
integer, intent(out) :: IER
character(*), intent(in) :: NAME
! Local variables
logical :: there
ier = 1
! check and see if directory exists first
inquire (directory=name,exist=there,err=100)
if (there) then
ier = 0
else if (makedirqq(name)) then
ier = 0
else
ier = 1
end if
! return
100 return
end subroutine MKDIR

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