There are many way to make a drawing to be
read-only, depending on the situation.
1. When open a drawing in Acad manually, the user
can choose to open it as read-only;
2. Use VBA/LISP... code, a drawing can be opened as
read-only by code.
3. Have the said drawing being opened by an Acad
instnace, so all later opening will be read-only
4. Place drawing in a folder which is read-only to
certain users
5. Make the file itself read-only by its file
attribute
6. Place the file on a read-only media, such as
CD
7. Use particular software to lock the drawing,
such as CADLock.
8. Make the drawing into read-only format, other
than *.dwg, such as DWF/PDF...
Since you ask here for a command to "leave the file
read-only", so, you could choose one from 4 to 8, then figure out how to make up
your "command".
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">My
friends I wonder how can I leave a file read only? is there any command? Thank
you.