[Search tip detail and code files using keywords, tip number, author name, etc ]
 
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Change File System Properties
Tip# 3024 By Ronald Maneja On 18-Nov-2008
2
Rated By 1 users Downloaded : 328
Categories : Misc. User Tools
Software type : AutoCAD 2008
Rename File To : raiseron.lsp
AutoLISP tip changes the file system properties of a currently open file.

Change File System Properties is a system-management tool for changing the file system properties of a current file. When used, a currently open file will be set to a read-only and hidden state. Load the LSP code and type Raise at the AutoCAD Command line. The file will be located in the file system, and the attributes will be adjusted. The routine will then ask you for a new file name, meant to be used for future revisions of the drawing. This routine uses MS Windows’ file system object to access the Attributes property and change it to a value of hidden and read only (and integer code).

 

Average Rating:
2


User comments


Log In