Jef! Posted February 7, 2014 Share Posted February 7, 2014 With many computers to monitor, its sometimes hard to keep track and make sure IT installed everything without forgetting anything. I made a lisp routine to verify if (amongst other) our standard.stb is available. If not, it grabs it the first time Cad start plugged to our network and copy it locally. Very practical for laptops. Few days ago one draftsman, without knowing how, managed to corrupt and/or modify it. Even if the source file is read only, copying it don't make the copy read only. I made many researches without finding anything about it: Is is possible to create it read only, or is it possible to make the copy read only once copied? (via lisp or vlisp). If so, how? Thanks, Jef! Quote Link to comment Share on other sites More sharing options...
MSasu Posted February 7, 2014 Share Posted February 7, 2014 The easiest solution will be to use a function from DOSLib extension pacakage (freeware): DOS_ATTRIB. Quote Link to comment Share on other sites More sharing options...
cwake Posted February 7, 2014 Share Posted February 7, 2014 Or oldschool...? (command "shell" "attrib +R \"C:\\ACAD\\SUBDIRECTORY\\FILE.txt\"") (command "shell" "attrib +R \"%APPDATA%\\Autodesk\\AutoCAD 2013 - English\\R19.0\\enu\\support\\acad.CUIX\"") Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.