New topic: 

Creating a directory with sub directories

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

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        Sky Stream          Post subject: Creating a directory with sub 
directoriesPosted: Thu Nov 18, 2010 4:34 pm                         
Joined: Sun Nov 23, 2008 12:27 am
Posts: 146                Greetings 

I have been researching for a way to create sub directories with in sub 
directories using the CreateAsfolder without any luck..

if I wanted to create a root folder, the following will work
Code:Dim f as folderitem
f = getfolderitem("C:\temp")
f.child("root").CreateAsFolder


this will go ahead and create c:\temp\root

now, if I wanted to try to create sub directories, I am unable to

Code:Dim f as folderitem
f = getfolderitem("C:\temp")
f.child("root\sub1\sub2\sub3").CreateAsFolder


This does not generate the desired results.      
_________________
Dell Latitude E6400 & Dell Mini 10v running Windows XP SP3 / Mac Pro, Macbook 
Pro & Mac Mini running OS X 10.6.4  
                             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