1. Create folder and path
- Posted by don cole <doncole at pacbell.net> Dec 16, 2004
- 501 views
Let me restate the previous question. I want to write to file "c://Program Files//Folder1//Folder2//Folder3//mystuff.dat" and Folder1,Folder2 and Folder3 do not exist. How can I do this without manually creating the folders? Don Cole Sf
2. Re: Create folder and path
- Posted by "Kat" <gertie at visionsix.com> Dec 19, 2004
- 463 views
On 16 Dec 2004, at 7:47, don cole wrote: > > > posted by: don cole <doncole at pacbell.net> > > Let me restate the previous question. > > I want to write to file "c://Program > Files//Folder1//Folder2//Folder3//mystuff.dat" > > and Folder1,Folder2 and Folder3 do not exist. > > How can I do this without manually creating the folders? Easy, like in my other email, create_directory("c://Program Files//Folder1//Folder2//Folder3//") and anything not there will get made. Then just write() your file there. Pick the create_directory() you need for the OS you use. Kat
3. Re: Create folder and path
- Posted by don cole <doncole at pacbell.net> Dec 19, 2004
- 458 views
Kat wrote: > > create_directory("c://Program Files//Folder1//Folder2//Folder3//") Where did create_directory() come from? Don Cole SF
4. Re: Create folder and path
- Posted by "Kat" <gertie at visionsix.com> Dec 19, 2004
- 471 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
5. Re: Create folder and path
- Posted by rudy toews <rltoews at ilos.net> Dec 19, 2004
- 453 views
don cole wrote: > > Kat wrote: > > > > > create_directory("c://Program Files//Folder1//Folder2//Folder3//") > > Where did create_directory() come from? > Don Cole > SF > I found it in Kat's strtokv2a, which i had save to my rapidarchive folder if you cannot find it on rds site, let me know. later rudy
6. Re: Create folder and path
- Posted by rudy toews <rltoews at ilos.net> Dec 19, 2004
- 441 views
rudy toews wrote: > > don cole wrote: > > > > Kat wrote: > > > > > > > > create_directory("c://Program Files//Folder1//Folder2//Folder3//") > > > > Where did create_directory() come from? > > Don Cole > > SF > > > > I found it in Kat's strtokv2a, which i had save to my rapidarchive folder > > if you cannot find it on rds site, let me know. > > later > rudy > p.s. i only found it there now by searching for strtok.e , found in a comment in incldep.zip (by Matt Arriola) but does not contain it. i can send it.
7. Re: Create folder and path
- Posted by don cole <doncole at pacbell.net> Dec 19, 2004
- 446 views
rudy toews wrote: > i can send it. > send it to: doncole at pacbell.net Please and thank you. Don cole SF
8. Re: Create folder and path
- Posted by "Kat" <gertie at visionsix.com> Dec 27, 2004
- 460 views
On 19 Dec 2004, at 1:21, Kat wrote: > > > 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. Ok, it's back online at http://tiggrbox.info/program/createdir.html Working code and proven examples are on the page. Kat