forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Files@

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
bernie



Joined: 11 Mar 2006
Posts: 3

PostPosted: Sat Mar 11, 2006 8:40 am    Post subject: Files@ Reply with quote

The first parameter in the subroutine files@ returns directorry informations for files.
How can I specify a directoryname including blanks (for example C:Program Files )



Bernie
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7924
Location: Salford, UK

PostPosted: Sat Mar 11, 2006 11:46 am    Post subject: Files@ Reply with quote

INTEGER,PARAMTER::k2=SELECTED_INT_KIND(4)
INTEGER(k2),PARAMETER::nmax=100
CHARACTER(LEN=256)fname(nmax)
INTEGER(k2) attr(nmax),date(nmax),time(nmax)
INTEGER size(nmax)
INTEGER(k2) n
CALL FILES@("C:Program Files*.*",n,nmax,fname,attr,date,time,size)
DO i = 1,n
PRINT*,fname(i)(1:LEN_TRIM(fname(i)))
ENDDO
END
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group