CreateAsFolder 
Author Message
 CreateAsFolder

How do I create a new folder?

I've tried to use:

afolder (existing folder)

newfolder = afolder.child("foldername")
newfolder.CreateAsFolder

/S?ren Rehn'e



Sun, 20 Jul 2003 21:15:42 GMT  
 CreateAsFolder
Found out, that I needed a Absolut path in child!

So now it works ...


Quote:
> How do I create a new folder?

> I've tried to use:

> afolder (existing folder)

> newfolder = afolder.child("foldername")
> newfolder.CreateAsFolder

> /S?ren Rehn'e



Sun, 20 Jul 2003 23:27:43 GMT  
 CreateAsFolder

Quote:

> Found out, that I needed a Absolut path in child!

> So now it works ...

Huh?  Child() should take just a file or folder name.  Avoid absolute
paths like the plague.

Cheers,
- Joe

--
,------------------------------------------------------------------.
|    Joseph J. Strout         Check out the Mac Web Directory:     |

`------------------------------------------------------------------'



Mon, 21 Jul 2003 06:59:45 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. CreateAsFolder - FolderItem

 

 
Powered by phpBB® Forum Software