<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Batch file to start AutoCAD. in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/batch-file-to-start-autocad/m-p/8564413#M152002</link>
    <description>We haven't tried moving the batch file to a different folder yet.&lt;BR /&gt;&lt;BR /&gt;(This is because the DOS program looks for the batch file in C:\.)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;We are waiting on a programmer to revise the DOS program for us so that we can see if it runs from a different folder.&lt;BR /&gt;&lt;BR /&gt;I will let you know if this works as soon as we can try it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;(If anyone is curious, the DOS program is written in Clipper.)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks again.  I do appreciate any suggestions anyone can offer.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 31 Jan 2019 16:39:23 GMT</pubDate>
    <dc:creator>dblouse</dc:creator>
    <dc:date>2019-01-31T16:39:23Z</dc:date>
    <item>
      <title>Batch file to start AutoCAD.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/batch-file-to-start-autocad/m-p/8555142#M151993</link>
      <description>&lt;P&gt;We have a DOS program that runs a batch file to start AutoCAD.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This worked fine with windows XP.&lt;/P&gt;
&lt;P&gt;With Windows 7 Professional, when the DOS program runs the batch file, AutoCAD does not start.&lt;/P&gt;
&lt;P&gt;It does work if I double click the batch file.&lt;/P&gt;
&lt;P&gt;(We know the batch file is running, because we put an echo statement in the file, and it does echo the text to the dos window.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am logged in as an administrator, with full rights.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any suggestions you could offer to fix this&amp;nbsp;will be greatly appreciated.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jan 2019 18:49:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/batch-file-to-start-autocad/m-p/8555142#M151993</guid>
      <dc:creator>dblouse</dc:creator>
      <dc:date>2019-01-28T18:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file to start AutoCAD.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/batch-file-to-start-autocad/m-p/8556743#M151994</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/586280"&gt;@dblouse&lt;/a&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for posting to the community. This is not the recommended way to launch AutoCAD, so I will let the community chime in on this one.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 00:45:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/batch-file-to-start-autocad/m-p/8556743#M151994</guid>
      <dc:creator>natasha.l</dc:creator>
      <dc:date>2019-01-29T00:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file to start AutoCAD.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/batch-file-to-start-autocad/m-p/8556790#M151995</link>
      <description>&lt;P&gt;I have done this in the past, let me dig up the files and test today and send back a reply.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 01:23:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/batch-file-to-start-autocad/m-p/8556790#M151995</guid>
      <dc:creator>Tomislav.Golubovic</dc:creator>
      <dc:date>2019-01-29T01:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file to start AutoCAD.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/batch-file-to-start-autocad/m-p/8557903#M151996</link>
      <description>Thank you.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 29 Jan 2019 13:18:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/batch-file-to-start-autocad/m-p/8557903#M151996</guid>
      <dc:creator>dblouse</dc:creator>
      <dc:date>2019-01-29T13:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file to start AutoCAD.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/batch-file-to-start-autocad/m-p/8559362#M151997</link>
      <description>&lt;P&gt;If you need to start AutoCAD with a batch file, you can add arguments to the end of the it so that it forces a profile for example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;start acad.exe /p "C:\Program Files\Autodesk\AutoCAD 2019\Support\technexus\technexus.arg"&lt;/PRE&gt;
&lt;P&gt;OR&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;start acad.exe /p technexus&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This starts AutoCAD 2019 with my own profile every time I double click on the icon, plus as well I can set my own icon for the batch file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There's a whole bunch of commands you can do with the DOS file before you start AutoCAD, it just depends on your own needs and requirements. If you go to the AutoCAD help and search for "Customize startup" you'll see the switches you can use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 20:43:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/batch-file-to-start-autocad/m-p/8559362#M151997</guid>
      <dc:creator>Tomislav.Golubovic</dc:creator>
      <dc:date>2019-01-29T20:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file to start AutoCAD.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/batch-file-to-start-autocad/m-p/8562214#M151998</link>
      <description>Thank you for the reply.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The line that we have in the batch file works, if I double click on the batch file.&lt;BR /&gt;&lt;BR /&gt;This is the line.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;"C:\Program Files\Autodesk\AutoCAD 2019\acad.exe" /product ACAD /language "en-US" C:\Plotrout\Plt /b C:\Plotrout\Plotrtr.scr /p "D:\Prof2019\PCAD2_R2019.arg" /nologo&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But if the DOS program we use runs the batch file, AutoCAD does not start.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I suspect it is a Windows security issue.  But I am not sure.&lt;BR /&gt;&lt;BR /&gt;(Windows 7 Professional)&lt;BR /&gt;&lt;BR /&gt;The batch file is in the root folder  "C:\".&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any help with this will be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Jan 2019 20:30:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/batch-file-to-start-autocad/m-p/8562214#M151998</guid>
      <dc:creator>dblouse</dc:creator>
      <dc:date>2019-01-30T20:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file to start AutoCAD.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/batch-file-to-start-autocad/m-p/8562377#M151999</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;"The line that we have in the batch file works, if I double click on the batch file"&lt;BR /&gt;Ok, but just for my interest: I don't understand one part of this statement:&lt;/P&gt;
&lt;P&gt;In front of =&amp;gt; C:\Plotrout\Plt&lt;BR /&gt;is no parameter, so for what is that part of your start line? (and why there is no error, if there isn't an error , i didn't test it)&lt;BR /&gt;Can you explain me this part? thx.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&amp;gt;"But if the DOS program we use runs the batch file, AutoCAD does not start."&lt;/P&gt;
&lt;P&gt;So the problem is the DOS program - where is it? whats the content?&lt;BR /&gt;Without the program we have to take a look from the crystal bone head,&lt;BR /&gt;thats no fun if we talk about YOUR problem and spend time for this.&lt;/P&gt;
&lt;P&gt;Or because of the Rights like you guess! (I suspect it is a Windows security issue. But I am not sure.)&lt;/P&gt;
&lt;P&gt;"&lt;BR /&gt;The batch file is in the root folder "C:\"."&lt;BR /&gt;Thats very very unusial for a professional computer user, &lt;BR /&gt;and Windows has the the same meaning!&lt;/P&gt;
&lt;P&gt;Please try it with another place for your file!&lt;BR /&gt;Sure, in this case i am guessing, but i am not jokeing! Please try it from c:\YourOwnFolder\ or something like that.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 21:27:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/batch-file-to-start-autocad/m-p/8562377#M151999</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2019-01-30T21:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file to start AutoCAD.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/batch-file-to-start-autocad/m-p/8562544#M152000</link>
      <description>Hello&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you for your reply.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;"C:\Plotrout\Plt" is the drawing file that AutoCAD opens when it starts.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 30 Jan 2019 22:43:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/batch-file-to-start-autocad/m-p/8562544#M152000</guid>
      <dc:creator>dblouse</dc:creator>
      <dc:date>2019-01-30T22:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file to start AutoCAD.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/batch-file-to-start-autocad/m-p/8562547#M152001</link>
      <description>&lt;P&gt;LoL, thank you, i was confused because of the missing file.EXTENSION(.dwg)&lt;/P&gt;
&lt;P&gt;And did you try the place your stuff from c:\ to C:\yourownfolder\ ?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 22:46:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/batch-file-to-start-autocad/m-p/8562547#M152001</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2019-01-30T22:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Batch file to start AutoCAD.</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/batch-file-to-start-autocad/m-p/8564413#M152002</link>
      <description>We haven't tried moving the batch file to a different folder yet.&lt;BR /&gt;&lt;BR /&gt;(This is because the DOS program looks for the batch file in C:\.)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;We are waiting on a programmer to revise the DOS program for us so that we can see if it runs from a different folder.&lt;BR /&gt;&lt;BR /&gt;I will let you know if this works as soon as we can try it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;(If anyone is curious, the DOS program is written in Clipper.)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks again.  I do appreciate any suggestions anyone can offer.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 31 Jan 2019 16:39:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/batch-file-to-start-autocad/m-p/8564413#M152002</guid>
      <dc:creator>dblouse</dc:creator>
      <dc:date>2019-01-31T16:39:23Z</dc:date>
    </item>
  </channel>
</rss>

