New topic: 

Folder Item Paths

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

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        JohnV          Post subject: Folder Item PathsPosted: Mon Nov 
05, 2012 3:15 pm                         
Joined: Sun Jan 28, 2007 2:38 pm
Posts: 140                On my mac  and on my Win 7 PC  I can  successfully 
find a folder using the following:

  dim myFolder as folderitem
  myFolder=App.ExecutableFile.Parent.parent.child("Target_Folder")

The folder is simply sitting at the same level as the .rbp / .rbvcp file in the 
directory.



However when I deploy it as a CGI and I leave the folder at the same level as 
the  myapp.cgi  file

myFolder.exists return FALSE.   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
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