Re: file access again
- Posted by useless_ Dec 31, 2012
- 1097 views
cargoan said...
... writedir="D:\\ngrams\\dbpedia\\prop3\\" & linetitle[1] writefilename = writedir & "\\" & linetitle & ".txt" if atom(dir(writedir)) then if not create_directory(writedir,,1) then crash("Filesystem error - could not create the folder") end if end if writefile = open(writefilename,"ab") -- and open a new file ...
Except the goal was to append to the existing files, to merge data. The files and folders were already created by another Eu program, using the same code, and it ran fine. Writing new data to some other folders isn't appending them to the existing files.
useless