<?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: working directory in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/working-directory/m-p/297029#M70355</link>
    <description>Use the vb CurDir function.</description>
    <pubDate>Tue, 24 Sep 2002 10:19:15 GMT</pubDate>
    <dc:creator>Ed__Jobe</dc:creator>
    <dc:date>2002-09-24T10:19:15Z</dc:date>
    <item>
      <title>working directory</title>
      <link>https://forums.autodesk.com/t5/vba-forum/working-directory/m-p/297028#M70354</link>
      <description>how to I change the working directory value for autocad without a shortcut?</description>
      <pubDate>Tue, 24 Sep 2002 09:32:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/working-directory/m-p/297028#M70354</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-09-24T09:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: working directory</title>
      <link>https://forums.autodesk.com/t5/vba-forum/working-directory/m-p/297029#M70355</link>
      <description>Use the vb CurDir function.</description>
      <pubDate>Tue, 24 Sep 2002 10:19:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/working-directory/m-p/297029#M70355</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2002-09-24T10:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: working directory</title>
      <link>https://forums.autodesk.com/t5/vba-forum/working-directory/m-p/297030#M70356</link>
      <description>that tells me what it is but does not seem to let me change it.&lt;BR /&gt;
&lt;BR /&gt;
That is the value I want to change. The help file seems to indicate that I&lt;BR /&gt;
can not change the value. I must be missing something&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
"Mike Daugird" &lt;MDAUGIRD&gt; wrote in message&lt;BR /&gt;
news:f111a63.-1@WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; how to I change the working directory value for autocad without a&lt;BR /&gt;
shortcut?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/MDAUGIRD&gt;</description>
      <pubDate>Wed, 25 Sep 2002 14:04:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/working-directory/m-p/297030#M70356</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-09-25T14:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: working directory</title>
      <link>https://forums.autodesk.com/t5/vba-forum/working-directory/m-p/297031#M70357</link>
      <description>I tried the following&lt;BR /&gt;
Public Sub cha()&lt;BR /&gt;
    Dim sysVarName As String&lt;BR /&gt;
    Dim sysVarData As Variant&lt;BR /&gt;
    sysVarName = "CURDIR"&lt;BR /&gt;
    sysVarData = "c:/temp"&lt;BR /&gt;
    ThisDrawing.SetVariable sysVarName, sysVarData&lt;BR /&gt;
&lt;BR /&gt;
    MsgBox CurDir&lt;BR /&gt;
End Sub&lt;BR /&gt;
it kind of came from the help file, I tried forward and back slashes in the&lt;BR /&gt;
c:/temp line and it does not matter.&lt;BR /&gt;
&lt;BR /&gt;
I need a way to change this freakin variable&lt;BR /&gt;
also curdir("C:\Temp\") gives an error and forward or backslashes does not&lt;BR /&gt;
matter here either.&lt;BR /&gt;
&lt;BR /&gt;
thanks&lt;BR /&gt;
&lt;BR /&gt;
"Mike Daugird" &lt;MDAUGIRD&gt; wrote in message&lt;BR /&gt;
news:f111a63.-1@WebX.maYIadrTaRb...&lt;BR /&gt;
&amp;gt; how to I change the working directory value for autocad without a&lt;BR /&gt;
shortcut?&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;BR /&gt;
&amp;gt;&lt;/MDAUGIRD&gt;</description>
      <pubDate>Wed, 25 Sep 2002 14:12:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/working-directory/m-p/297031#M70357</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2002-09-25T14:12:03Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/working-directory/m-p/297032#M70358</link>
      <description>Sorry, it's been awhile since I used it. Use ChDrive and ChDir to set them. However, if you are planning to use this with acad's file nav dialogs and REMEMBERFOLDERS is set to 1, then this won't work. Acad stores each dialog's previously used folder in the registry. Look under HKEY_CURRENT_USER\Software\Autodesk\AutoCAD\R15.0\ACAD-2:409\Profiles\ProfileName\Dialogs\OpenSaveAnavDialogs\InitialDirectory for an example.</description>
      <pubDate>Wed, 25 Sep 2002 14:22:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/working-directory/m-p/297032#M70358</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2002-09-25T14:22:40Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/working-directory/m-p/297033#M70359</link>
      <description>CurDir is not an acad sysvar, but a vb function.</description>
      <pubDate>Wed, 25 Sep 2002 14:24:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/working-directory/m-p/297033#M70359</guid>
      <dc:creator>Ed__Jobe</dc:creator>
      <dc:date>2002-09-25T14:24:16Z</dc:date>
    </item>
  </channel>
</rss>

