Jump to content

Running scripts at startup. How?


Recommended Posts

Posted

I want to run a script at startup.

My script is in the Desktop folder, named as PATOFELIZ.scr

 

AutoCad help is pretty useless in this point.

From what i did understand, you should create a shortcut and after the "acad.exe" direction, type /b PATOFELIZ.scr.

 

So, i create a desktop shortcut with the following code:

 

"C:\Archivos de programa\AutoCAD 2008\acad.exe" \b PATOFELIZ.scr

 

(Archivos de programa is Program Files for us, argentinos')

 

But how does Cad know that the script is IN THE DESKTOP?. Actually, it doesn't because it doesn't find it when i open Cad. Is there a special place where i have to put my scr for cad to find it through the /b code?

Posted

Just add the path of your Desktop in AutoCAD's Support Files Search Paths list; in Options --> Files. This way AutoCAD will be able to find it.

 

Regards,

Posted

still doesn't find it. The file PATOFELIZ.scr is in the desktop. The Support Files Search has the direction of my desktop, and the code is:

 

"C:\Archivos de programa\AutoCAD 2008\acad.exe" \b 4000D.scr

 

And autocad doesn't find it.

 

Are you sure that Support Files Search Paths is the list that holds the paths for the scripts?

Posted

Sorry! Found the error!

 

ITS /b, not \b..............................

 

Anyway, your tip was crucial for it to work. Thanks.

Posted

Glad to help you! You're welcome!

 

Regards,

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...