Is there any way that I can tell PSPad to check for and set an exclusive lock on
a txt file when it is opened? The purpose of this would be that if I have 2
developers working on the same files on a network share, and a file is already
opened by the first developer, the second developer receives a notice that the
file is not available for write access, but can be opened read-only.

For an example of this behavior, open a txt file in Word, then try to open it
again in Excel. Excel will respond before the file opens stating "File.txt is
locked for editing by 'John Doe'".

It appears that this happens using Windows built-in file locking mechanisms,
however I'd be happy with something like the VIM method of file locking, where a
hidden backup file is created with a .swp extension when the original file is
opened.

-- 
<http://forum.pspad.com/read.php?2,46275,46275>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem