Results 1 to 4 of 4

Thread: Robocopy in Accaddoc.lsp

  1. #1
    Member
    Join Date
    2000-10
    Location
    Orlando, Florida
    Posts
    38
    Login to Give a bone
    0

    Default Robocopy in Accaddoc.lsp

    We have several small remote offices, with our drawing files and standards files (acaddoc.lsp, individual lisp routines, etc.) stored on the server in our main office. We have pretty high speed internet connections and a riverbed system in place between all office. We just increased the connections speed/bandwidth to our largest remote office.

    So that the remote offices don't have to keep loading lisp files, checking additional font files and so on from the main server I created "remote" profiles which use these same file but they are stored on the local workstation. To maintain the files when I make changes I use the windows ROBOCOPY command as part of the remote site acaddoc.lsp file. The function is (command "shell" "robocopy J:\\_ABS\\LocalACADSupport\\ c:\\temp /e")

    This has been pretty good for the last few years but we are trying to squeeze every ounce of speed out of AutoCAD at remote sites. Robocopy runs each time a drawing is opened, adding between 8 & 9 seconds to opening the drawing. The time taken to open a drawing at a remote site is between 30 & 45 seconds which includes the Robocopy.

    Is there any way to do this so Robocopy only opens once per AutoCAD session?

    Thanks

  2. #2
    Certifiable AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL USA
    Posts
    3,667
    Login to Give a bone
    0

    Default Re: Robocopy in Accaddoc.lsp

    You could put it in acad.doc and it will run one time only.

  3. #3
    AUGI Addict
    Join Date
    2015-12
    Posts
    2,095
    Login to Give a bone
    0

    Default Re: Robocopy in Accaddoc.lsp

    Why not do it as part of the user log-in?

  4. #4
    Administrator BlackBox's Avatar
    Join Date
    2009-11
    Posts
    5,719
    Login to Give a bone
    0

    Default Re: Robocopy in Accaddoc.lsp

    Quote Originally Posted by Mitch Mermel View Post
    Is there any way to do this so Robocopy only opens once per AutoCAD session?
    Consider the /b startup switch in your application icon's Target path.



    Quote Originally Posted by Tom Beauford View Post
    You could put it in acad.doc and it will run one time only.
    Unless ACADLSPASDOC == 1.



    Quote Originally Posted by dgorsman View Post
    Why not do it as part of the user log-in?
    1+
    "How we think determines what we do, and what we do determines what we get."

    Sincpac C3D ~ Autodesk Exchange Apps

    Computer Specs:
    Dell Precision 3660, Core i9-12900K 5.2GHz, 64GB DDR5 RAM, PCIe 4.0 M.2 SSD (RAID 0), 16GB NVIDIA RTX A4000

Similar Threads

  1. zap.exe and robocopy.exe
    By jgratton in forum Software
    Replies: 2
    Last Post: 2004-12-11, 06:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •