Try opening and closing a file, keep textpad running and then try to delete the file/directory. It's like textpad keeps it open even though it is closed explicitly.
bug?
Keeps files open after closing.
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
-
Jens Hollmann
Re: Keeps files open after closing.
I think i read something about that in the help files.
Textpad keeps a lock on the last working directory if you close the last file. So when you close the last file which is in "c:\MyTemp" this directory cannot be deleted until you open a file elsewhere (then the current working dir is changed according to that new file) or close TextPad entirely.
That explains why you can't delete a dir. About the file I don't know. I don't have problems deleting files that are even currently open in TextPad. And when I set the "lock open files" setting, closing the file releases the lock.
I use a current Windows NT.
HTH
Jens
Textpad keeps a lock on the last working directory if you close the last file. So when you close the last file which is in "c:\MyTemp" this directory cannot be deleted until you open a file elsewhere (then the current working dir is changed according to that new file) or close TextPad entirely.
That explains why you can't delete a dir. About the file I don't know. I don't have problems deleting files that are even currently open in TextPad. And when I set the "lock open files" setting, closing the file releases the lock.
I use a current Windows NT.
HTH
Jens
-
Andreas
Re: Keeps files open after closing.
Whether a file can be deleted while it is open in Textpad, depends on
Configure-Preferences-File-Keep Files Locked While Editing Them
Uncheck it if you want to delete files you are editing.
Whether a folder can be deleted, depends on the active file in Textpad and on the setting for
Configure-Preferences-General-Working Folder follows active document.
If this is checked, Textpad changes its working folder to the folder containing the active document. Then this folder can't be deleted. This is not Textpad specific. A folder in use can't be deleted. Try the following:
Open a Command Prompt, change to some folder you don't need anymore.
Now try to delete this folder in Explorer...
Configure-Preferences-File-Keep Files Locked While Editing Them
Uncheck it if you want to delete files you are editing.
Whether a folder can be deleted, depends on the active file in Textpad and on the setting for
Configure-Preferences-General-Working Folder follows active document.
If this is checked, Textpad changes its working folder to the folder containing the active document. Then this folder can't be deleted. This is not Textpad specific. A folder in use can't be deleted. Try the following:
Open a Command Prompt, change to some folder you don't need anymore.
Now try to delete this folder in Explorer...