New topic: 

List files in a directory

<http://forums.realsoftware.com/viewtopic.php?t=34332>

         Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic          Author  
Message        grechcj          Post subject: List files in a directoryPosted: 
Sat Jun 19, 2010 3:20 pm                                 
Joined: Sun Feb 14, 2010 11:19 pm
Posts: 18                How does RS list files in a directory? 
I want to loop through the file names and check for certain characters.   
                             Top                 grechcj          Post subject: 
Re: List files in a directoryPosted: Sat Jun 19, 2010 3:27 pm                   
              
Joined: Sun Feb 14, 2010 11:19 pm
Posts: 18                Quote:How does RS list files in a directory?
I want to loop through the file names and check for certain characters.

Edit: 
Either the above or search for a FolderItem with a wildcard
eg. 

  Dim DestFile as FolderItem = GetFolderItem(myImageFolder.AbsolutePath + "Bob" 
+ [wildcard] + ".jpg")
  if DestFile.Exists then
  ...   
                             Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 2 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to