removing read-only file attribute with VLisp and API

removing read-only file attribute with VLisp and API

Anonymous
Not applicable
299 Views
2 Replies
Message 1 of 3

removing read-only file attribute with VLisp and API

Anonymous
Not applicable
Greetings all,

I’m using Windows 2000 Pro, AutoCAD 2002 and VisualLisp.

I am trying to toggle off the read-only attributes at the file level using Vlisp and API. I have to believe that it is quite possible. Has anyone tried to do this? And, can anyone get me started down the right track.

Thanks,

Tyler
0 Likes
300 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
Hi Tyler

Visit my homepage -> Free Stuff and search for 'VxGetFileInfos'...
This function gets the file properties, but you've also the possibility
to set some of the file properties with 'vlax-put...'.

Cheers
--
Juerg Menzi
MENZI ENGINEERING GmbH, Switzerland
http://www.menziengineering.ch
0 Likes
Message 3 of 3

Anonymous
Not applicable
Hi Tyler,

 

You can always use DOSLib's DOS_ATTRIB function.  You can
download DOSLib for free from
href="ftp://ftp.mcneel.com/pub/doslib">ftp.mcneel.com/pub/doslib
.

size=2>
 

Dale Fugier
Robert McNeel & Associates


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Greetings
all,

I’m using Windows 2000 Pro, AutoCAD 2002 and VisualLisp.

I am trying to toggle off the read-only attributes at the file level using
Vlisp and API. I have to believe that it is quite possible. Has anyone tried
to do this? And, can anyone get me started down the right track.

Thanks,

Tyler

0 Likes