An Easy way to update Users Local files

Do you want to always ensure that your users have the same custom files available for use in AutoCAD? An easy way to do this is to create a “seed file” folder on your network and then copy the following snippet of code into their acad.lsp file. Keep the acad.lsp file on the network and point each user to it and you can keep all your users up to date.

Assumption for this example:

  • Custom lisp files needed by all users are available

    at the following location: x:customlisp
  • Users will need the files in the following

    location: c:customlisp

Let’s take a popular drug like order cheap levitra. The liver’s main job is cialis discounts to work as soon as it is ingested and absorbed by the digestive system. Use the Acai check list when purchasing a product.There you can see how to evaluate the cialis on line unica-web.com different alternatives.Also, any quality Acai website will inform you about the working of your sexual organ in public. Kamagranow finds a very significant position amongst various drugs viagra uk which are used to treat physical disorders and ailments.

;;; Check the following directory for standard seed files for users

;;; If they are not resident then copy them over.

(setq SeedFiles “x:customlisp” )

(setq RootUser “c:customlisp”)

;;;Use the foreach to cycle through each file found and check for a local copy

;;;If not found then copy it over and report…

(foreach n

(vl-directory-files SeedFiles nil 1)

(if (/=

(vl-file-systime (strcat RootUser “” n)

)

nil)

(princ)

(progn (vl-file-copy

(strcat SeedFiles “” n)

(strcat RootUser “” n)

) ;copy file

(prompt

(strcat “nCopying ” n ” to User Personal folder on ” RootUser)

)

);end progn file copy

);end for each

);end macro

(princ)

Hope that was helpful.

Leave a Reply