Command line option to open file as readonly
Submitted by Wednesday, 1 September, 2004 - 20:59
on
I would like to be able to open a file as readonly via a command line. I use the editor to load different reference files that I do not want to accidently change (e.g. phone listing). A command line option also enables me to define an icon for each reference file. An indicator of the readonly status in the status bar would be helpful.
I know I can create a script that will set the file readonly once I have it open, but I'd rather not have to remember to run the script each time I open the file.
Setting the properties for the file at the OS level is not an option.
I know I can create a script that will set the file readonly once I have it open, but I'd rather not have to remember to run the script each time I open the file.
Setting the properties for the file at the OS level is not an option.