Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone!
I need a batch file to run one time when AutoCAD is first opened.
I assumed I could just use startup in acad.lsp and that would do the trick.
(startapp "W://_RESOURCE//_CAD//PROGRAMS//CESO_STDS_DL_ARCH.bat")
But it does nothing.
I then tried to put the startapp command inside a lisp then call the lisp in acad.lsp.
(defun c:ceso_stds_dl()
(startapp "W://_RESOURCE//_CAD//PROGRAMS//CESO_STDS_DL.bat")
(princ)
)
Still no luck. Any ideas for a way to run the batch file only on CAD startup?
I could put it in acaddoc.lsp and it works, but I don't want the batch file to run everytime a drawing is opened. Just once.
Solved! Go to Solution.