<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: What is loaded at AutoCAD startup, and when?</title>
	<atom:link href="http://www.blog.cadnauseam.com/2008/09/01/what-is-loaded-at-autocad-startup-and-when/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.blog.cadnauseam.com/2008/09/01/what-is-loaded-at-autocad-startup-and-when/</link>
	<description>A strange mix of AutoCAD, music, image manipulation and video</description>
	<lastBuildDate>Fri, 12 Mar 2010 16:38:00 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Steve Johnson</title>
		<link>http://www.blog.cadnauseam.com/2008/09/01/what-is-loaded-at-autocad-startup-and-when/#comment-4101</link>
		<dc:creator>Steve Johnson</dc:creator>
		<pubDate>Tue, 19 Jan 2010 05:18:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.cadnauseam.com/?p=157#comment-4101</guid>
		<description>Each of these files will be loaded from the first place AutoCAD finds them as it works through its search path. The search path isn&#039;t just what is defined in the Options Files tab, it also includes the current folder (usually the start-in folder defined in the program shortcut) and the current drawing&#039;s folder. The current folder is searched first, then the drawing folder, then the rest of the search path. I know of no way of disabling this.</description>
		<content:encoded><![CDATA[<p>Each of these files will be loaded from the first place AutoCAD finds them as it works through its search path. The search path isn&#8217;t just what is defined in the Options Files tab, it also includes the current folder (usually the start-in folder defined in the program shortcut) and the current drawing&#8217;s folder. The current folder is searched first, then the drawing folder, then the rest of the search path. I know of no way of disabling this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Cowgill</title>
		<link>http://www.blog.cadnauseam.com/2008/09/01/what-is-loaded-at-autocad-startup-and-when/#comment-4100</link>
		<dc:creator>Chris Cowgill</dc:creator>
		<pubDate>Mon, 18 Jan 2010 15:54:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.cadnauseam.com/?p=157#comment-4100</guid>
		<description>Steve, do you know if there is any documentation that tells how to get any acaddoc.lsp file to load from a specific location.  I just realized today, that if you open a drawing that has an acaddoc.lsp file in the same folder, AutoCAD will automatically load and run that version.  That could create an issue if you open a drawing and am unaware that the file is located in the same directory.  plus it also has a potential to create a headache when you have office wide customizations.</description>
		<content:encoded><![CDATA[<p>Steve, do you know if there is any documentation that tells how to get any acaddoc.lsp file to load from a specific location.  I just realized today, that if you open a drawing that has an acaddoc.lsp file in the same folder, AutoCAD will automatically load and run that version.  That could create an issue if you open a drawing and am unaware that the file is located in the same directory.  plus it also has a potential to create a headache when you have office wide customizations.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arnar Leifsson</title>
		<link>http://www.blog.cadnauseam.com/2008/09/01/what-is-loaded-at-autocad-startup-and-when/#comment-4058</link>
		<dc:creator>Arnar Leifsson</dc:creator>
		<pubDate>Fri, 20 Nov 2009 12:35:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.cadnauseam.com/?p=157#comment-4058</guid>
		<description>Is it possable to startup Autocad with out opening defult drawing automatic?</description>
		<content:encoded><![CDATA[<p>Is it possable to startup Autocad with out opening defult drawing automatic?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Johnson</title>
		<link>http://www.blog.cadnauseam.com/2008/09/01/what-is-loaded-at-autocad-startup-and-when/#comment-3436</link>
		<dc:creator>Steve Johnson</dc:creator>
		<pubDate>Mon, 09 Mar 2009 04:41:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.cadnauseam.com/?p=157#comment-3436</guid>
		<description>Sorry, I have no LDD experience whatsoever. I can only suggest creating a new clean profile and switching to it, but even that advice might be dangerous. This is the sort of things that resellers are supposed to be able to help with. Failing that, how about the Autodesk discussion groups?</description>
		<content:encoded><![CDATA[<p>Sorry, I have no LDD experience whatsoever. I can only suggest creating a new clean profile and switching to it, but even that advice might be dangerous. This is the sort of things that resellers are supposed to be able to help with. Failing that, how about the Autodesk discussion groups?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Grant</title>
		<link>http://www.blog.cadnauseam.com/2008/09/01/what-is-loaded-at-autocad-startup-and-when/#comment-3435</link>
		<dc:creator>Grant</dc:creator>
		<pubDate>Mon, 09 Mar 2009 01:40:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.cadnauseam.com/?p=157#comment-3435</guid>
		<description>I installed Land Desktop Companion 2009 and made very few changes to my profile and when I try to run any land desktop command I get the following:

; error: no function definition: XLOAD

Command:  Unknown command &quot;LDD&quot;.  Press F1 for help.

Can you help please, I have tried everything I know, even a repair and just can&#039;t seem to figure it out.</description>
		<content:encoded><![CDATA[<p>I installed Land Desktop Companion 2009 and made very few changes to my profile and when I try to run any land desktop command I get the following:</p>
<p>; error: no function definition: XLOAD</p>
<p>Command:  Unknown command &#8220;LDD&#8221;.  Press F1 for help.</p>
<p>Can you help please, I have tried everything I know, even a repair and just can&#8217;t seem to figure it out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan</title>
		<link>http://www.blog.cadnauseam.com/2008/09/01/what-is-loaded-at-autocad-startup-and-when/#comment-3224</link>
		<dc:creator>Ivan</dc:creator>
		<pubDate>Wed, 21 Jan 2009 12:21:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.cadnauseam.com/?p=157#comment-3224</guid>
		<description>thanks steve.

pls help me with another thing.

I succeeded disabling custom commands at startup using the acaddoc.lsp and (c:xxx nil).  But whenever the vlx and lsp programs are loaded again during autocad session by using appload, the custom commands are working again.  Can you share some syntax on how to prevent the same custom programs (vlx, fas, or lsp) from being loaded again?  I plan to put it also under the acaddoc.lsp.

thanks.  you&#039;ve been very helpful and really appreciate your kindness.</description>
		<content:encoded><![CDATA[<p>thanks steve.</p>
<p>pls help me with another thing.</p>
<p>I succeeded disabling custom commands at startup using the acaddoc.lsp and (c:xxx nil).  But whenever the vlx and lsp programs are loaded again during autocad session by using appload, the custom commands are working again.  Can you share some syntax on how to prevent the same custom programs (vlx, fas, or lsp) from being loaded again?  I plan to put it also under the acaddoc.lsp.</p>
<p>thanks.  you&#8217;ve been very helpful and really appreciate your kindness.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Johnson</title>
		<link>http://www.blog.cadnauseam.com/2008/09/01/what-is-loaded-at-autocad-startup-and-when/#comment-3223</link>
		<dc:creator>Steve Johnson</dc:creator>
		<pubDate>Wed, 21 Jan 2009 05:25:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.cadnauseam.com/?p=157#comment-3223</guid>
		<description>It depends who you&#039;re trying to protect the file from, what rights they have and so on, but you should be able to prevent deletion by others by changing the security settings on the file.

Assuming you&#039;re using XP, right-click on the file, pick Properties and use the Security tab to set permissions in there. See Start &gt; Help and Support &gt; Security and Administration &gt; Access Control for more information. The topics &quot;To take ownership of a file or folder&quot; and/or &quot;Set, view, change, or remove file and folder permissions&quot; should get you started.

Note that although you can prevent somebody deleting your file, they can still change the AutoCAD search path so AutoCAD doesn&#039;t find it.</description>
		<content:encoded><![CDATA[<p>It depends who you&#8217;re trying to protect the file from, what rights they have and so on, but you should be able to prevent deletion by others by changing the security settings on the file.</p>
<p>Assuming you&#8217;re using XP, right-click on the file, pick Properties and use the Security tab to set permissions in there. See Start > Help and Support > Security and Administration > Access Control for more information. The topics &#8220;To take ownership of a file or folder&#8221; and/or &#8220;Set, view, change, or remove file and folder permissions&#8221; should get you started.</p>
<p>Note that although you can prevent somebody deleting your file, they can still change the AutoCAD search path so AutoCAD doesn&#8217;t find it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan</title>
		<link>http://www.blog.cadnauseam.com/2008/09/01/what-is-loaded-at-autocad-startup-and-when/#comment-3221</link>
		<dc:creator>Ivan</dc:creator>
		<pubDate>Tue, 20 Jan 2009 21:15:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.cadnauseam.com/?p=157#comment-3221</guid>
		<description>Thanks a lot Steve.  It works.

Do you have a way of protecting the acaddoc.lsp from being deleted?  The only way I know is to make it a hidden file but it can always be unhidden in the folders option.  My reason is once acaddoc.lsp is deleted the custom commands will be enabled again at the startup.  So I&#039;m hoping the file can be immune from being deleted.</description>
		<content:encoded><![CDATA[<p>Thanks a lot Steve.  It works.</p>
<p>Do you have a way of protecting the acaddoc.lsp from being deleted?  The only way I know is to make it a hidden file but it can always be unhidden in the folders option.  My reason is once acaddoc.lsp is deleted the custom commands will be enabled again at the startup.  So I&#8217;m hoping the file can be immune from being deleted.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Johnson</title>
		<link>http://www.blog.cadnauseam.com/2008/09/01/what-is-loaded-at-autocad-startup-and-when/#comment-3219</link>
		<dc:creator>Steve Johnson</dc:creator>
		<pubDate>Tue, 20 Jan 2009 11:27:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.cadnauseam.com/?p=157#comment-3219</guid>
		<description>You can disable any C:XXX function by setting it to nil, e.g.

(setq C:XXX nil)

It depends where the functions are defined and where your disabling calls are placed. If you append your own stuff (including command-disabling stuff) to S::STARTUP in acaddoc.lsp, then it should come last and should therefore &quot;win&quot;.</description>
		<content:encoded><![CDATA[<p>You can disable any C:XXX function by setting it to nil, e.g.</p>
<p>(setq C:XXX nil)</p>
<p>It depends where the functions are defined and where your disabling calls are placed. If you append your own stuff (including command-disabling stuff) to S::STARTUP in acaddoc.lsp, then it should come last and should therefore &#8220;win&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan</title>
		<link>http://www.blog.cadnauseam.com/2008/09/01/what-is-loaded-at-autocad-startup-and-when/#comment-3218</link>
		<dc:creator>Ivan</dc:creator>
		<pubDate>Mon, 19 Jan 2009 22:20:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.cadnauseam.com/?p=157#comment-3218</guid>
		<description>Is there a way to disable custom commands (c:xxx) written under the function S::STARTUP?  Please help.  Thanks.</description>
		<content:encoded><![CDATA[<p>Is there a way to disable custom commands (c:xxx) written under the function S::STARTUP?  Please help.  Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Johnson</title>
		<link>http://www.blog.cadnauseam.com/2008/09/01/what-is-loaded-at-autocad-startup-and-when/#comment-3216</link>
		<dc:creator>Steve Johnson</dc:creator>
		<pubDate>Wed, 07 Jan 2009 11:36:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.cadnauseam.com/?p=157#comment-3216</guid>
		<description>Yes, as a set of AutoCAD commands (which could include LISP-defined ones), scripts pretty much have to run after everything else is in place. So I guess that makes them fit in at E 4.</description>
		<content:encoded><![CDATA[<p>Yes, as a set of AutoCAD commands (which could include LISP-defined ones), scripts pretty much have to run after everything else is in place. So I guess that makes them fit in at E 4.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris4d</title>
		<link>http://www.blog.cadnauseam.com/2008/09/01/what-is-loaded-at-autocad-startup-and-when/#comment-3215</link>
		<dc:creator>Chris4d</dc:creator>
		<pubDate>Tue, 06 Jan 2009 23:17:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.cadnauseam.com/?p=157#comment-3215</guid>
		<description>Very informative, thanks... so on top of all this, when do script files specified at the command line load?  At the very end?  Or no?</description>
		<content:encoded><![CDATA[<p>Very informative, thanks&#8230; so on top of all this, when do script files specified at the command line load?  At the very end?  Or no?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark McDonough</title>
		<link>http://www.blog.cadnauseam.com/2008/09/01/what-is-loaded-at-autocad-startup-and-when/#comment-1318</link>
		<dc:creator>Mark McDonough</dc:creator>
		<pubDate>Tue, 02 Sep 2008 21:18:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.cadnauseam.com/?p=157#comment-1318</guid>
		<description>Thanks for putting this together.  Autodesk does also publish a list of the AutoCAD startup sequence.  This all came to be rather important with the recent rash of &quot;CAD viruses&quot;, aka ALS_BURSTED.H virus or variously called Virus.ALS.Bursted, ALS/Bursted, and other variants.  The virus comes as a tainted ACAD.FAS file, or an ACAD.VLX file, and on some sites discussing the &quot;CAD virus&quot; conjectured that ACAD.FAS and ACAD.VLX probably load up at the same sequence position as ACAD.LSP.  One of our offices got infected with the virus, and the solution was to put some code in ACAD200X.LSP (which loads BEFORE acad.lsp/fas/vlx) to thwart the virus.  The virus takes advantage of the automatic-loading of reserved AutoCAD file names to execute their infected version of said files.  Frankly, I&#039;m surprised there haven&#039;t been more of these types of virus attacks, not dissimilar to MS Office macro viruses that exploit templates and other files that get auto-loaded when Office applications launch.</description>
		<content:encoded><![CDATA[<p>Thanks for putting this together.  Autodesk does also publish a list of the AutoCAD startup sequence.  This all came to be rather important with the recent rash of &#8220;CAD viruses&#8221;, aka ALS_BURSTED.H virus or variously called Virus.ALS.Bursted, ALS/Bursted, and other variants.  The virus comes as a tainted ACAD.FAS file, or an ACAD.VLX file, and on some sites discussing the &#8220;CAD virus&#8221; conjectured that ACAD.FAS and ACAD.VLX probably load up at the same sequence position as ACAD.LSP.  One of our offices got infected with the virus, and the solution was to put some code in ACAD200X.LSP (which loads BEFORE acad.lsp/fas/vlx) to thwart the virus.  The virus takes advantage of the automatic-loading of reserved AutoCAD file names to execute their infected version of said files.  Frankly, I&#8217;m surprised there haven&#8217;t been more of these types of virus attacks, not dissimilar to MS Office macro viruses that exploit templates and other files that get auto-loaded when Office applications launch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Todd Shackelford</title>
		<link>http://www.blog.cadnauseam.com/2008/09/01/what-is-loaded-at-autocad-startup-and-when/#comment-1305</link>
		<dc:creator>Todd Shackelford</dc:creator>
		<pubDate>Tue, 02 Sep 2008 19:22:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.cadnauseam.com/?p=157#comment-1305</guid>
		<description>This is a great reference post. 

I&#039;m going to print it and put it in a notebook. I&#039;m also going to make a copy and tape it on the wall near my monitor. I&#039;ll also book mark this site incase of a fire. That reminds me, I should write something about backing up information. I&#039;m sure I have a few versions started somewhere around here.</description>
		<content:encoded><![CDATA[<p>This is a great reference post. </p>
<p>I&#8217;m going to print it and put it in a notebook. I&#8217;m also going to make a copy and tape it on the wall near my monitor. I&#8217;ll also book mark this site incase of a fire. That reminds me, I should write something about backing up information. I&#8217;m sure I have a few versions started somewhere around here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jimmy Bergmark - JTB World</title>
		<link>http://www.blog.cadnauseam.com/2008/09/01/what-is-loaded-at-autocad-startup-and-when/#comment-1193</link>
		<dc:creator>Jimmy Bergmark - JTB World</dc:creator>
		<pubDate>Mon, 01 Sep 2008 12:32:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.blog.cadnauseam.com/?p=157#comment-1193</guid>
		<description>Great post! It would be useful to also include when ARXs and DLLs are loaded from HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R17.2\ACAD-7001:409\Applications and HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R17.2\ACAD-7001:409\Applications.</description>
		<content:encoded><![CDATA[<p>Great post! It would be useful to also include when ARXs and DLLs are loaded from HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R17.2\ACAD-7001:409\Applications and HKEY_LOCAL_MACHINE\SOFTWARE\Autodesk\AutoCAD\R17.2\ACAD-7001:409\Applications.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
