VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Copy File Upon AutoCAD Boot-up

1 REPLY 1
Reply
Message 1 of 2
sbrusco
320 Views, 1 Reply

Copy File Upon AutoCAD Boot-up

Hi All,

I'm looking for a VB or VB.NET program that every time a user boots AutoCAD that an extraction template file (dxe) will be copied from a network location to a directory on the local "C:" drive, overwritting the old file as necessary. Also, how would i make it run every time a user boots AutoCAD? Would there be a line of lisp in my acad.lsp file?

Any head start would be appreciated.

TIA.
Sal

1 REPLY 1
Message 2 of 2
Anonymous
in reply to: sbrusco

Hi Sal,

Make a CMD file with content like:

{code}
XCopy NetworkFileSpec LocalFileFolder
"C:\Program Files\AutoCAD Civil 3D 2010\acad.exe" /P AutoCAD
{code}

Then run that file to start your AutoCAD.

Regards,


Laurie Comerford




sbrusco@centria.com wrote:
> Hi All,
>
> I'm looking for a VB or VB.NET program that every time a user boots AutoCAD that an extraction template file (dxe) will be copied from a network location to a directory on the local "C:" drive, overwritting the old file as necessary. Also, how would i make it run every time a user boots AutoCAD? Would there be a line of lisp in my acad.lsp file?
>
> Any head start would be appreciated.
>
> TIA.
> Sal
>

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost