Question about FileStream

Hi

I'm currently working on some kind of export.
The script opens a filestream and writes
some content into a file (like *.txt)

So.. everything works *smile* BUT as I try
to delete the file (within windows explorer)
I get the message "file cannot be deleted ..
still in use"

I'm allready using "flush " and
"close " .. but still buggy.

thanks for your help
regards
markus

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
freesmith's picture

hi, i'm currently working on

hi, i'm currently working on something with filestream. and get the same thing, only when i close max i can delete it.. dont know whats it about though..
but tell me do you know a way to write (") character directly to txt file from max script..like you take the path value from material and want to write it as string into txt file

mambrus's picture

... still in need of help !

... still in need of help ! :D

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.