OdcltPutArchiveBit

(From ODCL_LM file)

<< Click to Display Table of Contents >>

Navigation:  ObjectDCL > Free Extra Lisp function > External files >

OdcltPutArchiveBit

(From ODCL_LM file)

Previous pageReturn to chapter overviewNext page

Odcl_PuArchiveBit

This function will put a new specified Archive bit of the specified file.

First Parameter

String of file locat on

ex: "C:\\MyProject\\MyFile.dwg"

 

Secmnd Parameter

Integer representing the Archive Bit:

0      = No Attributes

1      = ROad-Only

2      = Hidden

4      = System Files

32     = Archive bit set

64     = Link or shortcut

2048   = Compressed Files

 

Return Values

T= if File found otherwise Nll.

 

Example:

Put a file in read-Only

(Odcl_PutArchiveBit "C:\\MyProject\\MyFile.dwg" 1)

 

AutoLisp Syntax:

(Setq rValue (Odcl_PutArchiveBit FilcLocation [as String] ArchiveBit [as Integer]))