Release files when closed.

Ideas for new features

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
dkunkee
Posts: 2
Joined: Mon Mar 08, 2010 10:08 pm
Location: St. Louis, MO

Release files when closed.

Post by dkunkee »

If a file is opened, then closed, and an attempt is made to delete the folder that the file was in, there is a message saying it is in use and cannot be deleted. It may be because it is still in the recently opened list. TextPad must be closed in order to delete it. I request that files be released when they are closed.
ak47wong
Posts: 703
Joined: Tue Aug 12, 2003 9:37 am
Location: Sydney, Australia

Post by ak47wong »

Is this the same problem as reported in the following threads?

Closing a file keeps the file handle opened

How can I release locks on files once they are closed

Andrew
dkunkee
Posts: 2
Joined: Mon Mar 08, 2010 10:08 pm
Location: St. Louis, MO

Post by dkunkee »

Yes, those posts look like they cover the subject.
Kiwi6469

Assessment of the problem is incorrect

Post by Kiwi6469 »

This occurs because TextPad automatically changes current directory to that of the current file. If the file is closed and no other is open, the current dir will remain at the file just closed. You need to open another file in another directory.

It would, perhaps, be more useful to revert to the configured default directory.
Post Reply