Jump to content
Sign in to follow this  
prismite

FileWrite locks file

Recommended Posts

prismite

Hi all.

Apparently, on this recent script i wrote users are getting errors when they try to open .txt files created using the FileWrite command. The error indicates that the file is still in use. This doesn't happen when the file is opened with Notepad, but does if you open with other text editors.

Is there some way to end the writing process so as to release 'ownership' of the file?

Share this post


Link to post
Share on other sites
reb

Did you close your file? FileClose ( "filehandle" )

REB


MEASURE TWICE - CUT ONCE

Share this post


Link to post
Share on other sites
prismite

Nope. Thats the command I was looking for. I had tried several variations but somehow managed to dance completely around this one. 

THanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.