You are here: PSPad forum > English discussion forum > File Locking
Posted by: dhohmann | Date: 2015-06-02 16:02 | IP: IP Logged
Hello Jan,
I tested this with version 2661
Version 2600 seems to work with "Smart file locking with LCK file" but if I switch to "Lock file with R/O attribute" every opened file is locked.
Greetings
Dirk
Posted by: pspad | Date: 2015-06-02 17:24 | IP: IP Logged
Hello dirk. Can you please go to program settings and uncheck Remember file state option in the program settings / Files and dirs? And test it again?
Posted by: dhohmann | Date: 2015-06-03 10:26 | IP: IP Logged
Hello Jan,
in both versions I tested while "Remember file state" was not checked.
Greetings
Dirk
Posted by: pspad | Date: 2015-06-05 08:57 | IP: IP Logged
I found a problem in case when file name contains any unicode chars. Maybe it can be your problem.
Posted by: dhohmann | Date: 2015-06-05 13:19 | IP: IP Logged
Hello Jan,
I tested with files named like com.inc, tab.inc, test.txt etc.
-> only characters from ascii range
Greetings
Dirk
Posted by: hhoefling | Date: 2015-06-05 18:43 | IP: IP Logged
Please remember.....
From MSDN:
Do not use the following reserved device names for the name of a file:
CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9.
Also avoid these names followed by an extension, for example, NUL.txt.
CLOCK$ is also a reserved device name.
------------
These Name are reseverd from the early ms-dos time.
--
by HH
Posted by: dhohmann | Date: 2015-06-08 16:14 | IP: IP Logged
hhoefling:Please remember.....From MSDN:
Do not use the following reserved device names for the name of a file:
CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9.
Also avoid these names followed by an extension, for example, NUL.txt.CLOCK$ is also a reserved device name.
------------These Name are reseverd from the early ms-dos time.
Our problem has nothing to do with reserved filenames.
Greetings
Dirk
Editor PSPad - freeware editor, © 2001 - 2024 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR