Use RENAME to rename the file(and rename it back when successful). If the file is in use, you cannot rename it.
Also, avoid using Notepad for testing. Notepad would open the file and load its entire contents into memory and then closes the file, all of that happens in a fraction of the second. The same applies for WordPad. Use MS Word for testing, it keeps the file in use while it's being viewed.
Comments
http://www.BiloBeauty.com
http://www.autismspeaks.org
Also, avoid using Notepad for testing. Notepad would open the file and load its entire contents into memory and then closes the file, all of that happens in a fraction of the second. The same applies for WordPad. Use MS Word for testing, it keeps the file in use while it's being viewed.
http://www.autocloseidle.com
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Excuse me ajhvdb where is the section free tools? Is it in download?
they have a fileinuse util http://www.sysinternals.com/Utilities/PsFile.html
Ps.
The other tips are easier i think...