How can I release locks on files once they are closed
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
How can I release locks on files once they are closed
Textpad 5.2.0 does not release locks on files once they are closed on WindowsXP.
Try opening a file in textpad and close teh file. Then try to delete the file. Windows throws an error sayng the file is in use by a program or person. Howeevr once textpad is closed teh file can be deleted.
Try opening a file in textpad and close teh file. Then try to delete the file. Windows throws an error sayng the file is in use by a program or person. Howeevr once textpad is closed teh file can be deleted.
these are the steps I followed
1) Created a folder called 'test' on C drive
2) created a text file called test.txt on C:\test
3) opened test.txt in textpad and modified the file.
4) saved and closed test.txt from textpad (textpad is still open)
5) tried to delete the folder test.
Windows says the folder cannot be deleted as it is in use by another person or program.
I first thought it was the file that was being locked but I was able to delete test.txt. It is the folder that I cannot delete. It seems textpad has lock on the folder the file is present in.
Could you try if the samething happens to you too?
It cant be just me
2) created a text file called test.txt on C:\test
3) opened test.txt in textpad and modified the file.
4) saved and closed test.txt from textpad (textpad is still open)
5) tried to delete the folder test.
Windows says the folder cannot be deleted as it is in use by another person or program.
I first thought it was the file that was being locked but I was able to delete test.txt. It is the folder that I cannot delete. It seems textpad has lock on the folder the file is present in.
Could you try if the samething happens to you too?
It cant be just me
-
- Posts: 2461
- Joined: Sun Mar 02, 2003 9:22 pm
Unchecking the 'working folder follows active document' works, but I really like that feature.
I mostly use textpad to track log files. I have log files located at different folders and the 'working folder follows active document' feature saves me a lot of mouse clicks to open another file from a folder that has already a file open.
Is there any reason why textpad has to lock a folder, if it has no open files in that folder?
I mostly use textpad to track log files. I have log files located at different folders and the 'working folder follows active document' feature saves me a lot of mouse clicks to open another file from a folder that has already a file open.
Is there any reason why textpad has to lock a folder, if it has no open files in that folder?
You might like to try this www.filehippo.com/download_unlocker/. I have not yet tried it but it claims to unlock file-locked windows files so should work on directories too.
-
- Posts: 7
- Joined: Wed Sep 03, 2008 9:34 am
Issue with USB
Open a file from an USB-drive
Save the file as a new file on another HD
Try to safely remove the USB-drive
The USB-drive is now locked by Textpad 5.2 even though it has no file open on the drive. Even closing the file (now saved under another name on another drive) does not help. Closing Textpad allows the USB-drive to be safely removed.
Save the file as a new file on another HD
Try to safely remove the USB-drive
The USB-drive is now locked by Textpad 5.2 even though it has no file open on the drive. Even closing the file (now saved under another name on another drive) does not help. Closing Textpad allows the USB-drive to be safely removed.