Re: Create folder and path
- Posted by "Kat" <gertie at visionsix.com> Dec 19, 2004
- 472 views
On 18 Dec 2004, at 23:15, don cole wrote: > > > posted by: don cole <doncole at pacbell.net> > > Kat wrote: > > > > > create_directory("c://Program Files//Folder1//Folder2//Folder3//") > > Where did create_directory() come from? > Don Cole > SF From: Kat <gertie at visionsix.com> To: EUforum at topica.com Subject: Re: Create Folder? Send reply to: gertie at visionsix.com Date sent: Sat, 18 Dec 2004 23:10:45 -0600 On 16 Dec 2004, at 7:50, Matt Lewis wrote: > > > posted by: Matt Lewis <matthewwalkerlewis at yahoo.com> > > don cole wrote: > > > > I know how to automatically create a .txt file (I want to write to) ,if it > > dosen't exist. > > > > Can I do this with a folder? How? > > system( "mkdir folder_name", 2 ) I had a neat little include file on TiggrBox.Info that made path/folders if they didn't already exist, and it was tested on dos, nix, and windows. I don't know where it is anymore, but someone else might have it. Kat