<?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 cannot create tmp file for DCL in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cannot-create-tmp-file-for-dcl/m-p/11361589#M42080</link>
    <description>&lt;P&gt;I need admin rights to write in this directory , is this the right dir ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;; warning:cannot create tmp file for DCL: "C:/Program Files/Autodesk/AutoCAD 2022/$vld$.dcl"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or do I need the right rights ?&lt;/P&gt;</description>
    <pubDate>Tue, 16 Aug 2022 09:32:05 GMT</pubDate>
    <dc:creator>Wheelie22</dc:creator>
    <dc:date>2022-08-16T09:32:05Z</dc:date>
    <item>
      <title>cannot create tmp file for DCL</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cannot-create-tmp-file-for-dcl/m-p/11361589#M42080</link>
      <description>&lt;P&gt;I need admin rights to write in this directory , is this the right dir ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;; warning:cannot create tmp file for DCL: "C:/Program Files/Autodesk/AutoCAD 2022/$vld$.dcl"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or do I need the right rights ?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 09:32:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cannot-create-tmp-file-for-dcl/m-p/11361589#M42080</guid>
      <dc:creator>Wheelie22</dc:creator>
      <dc:date>2022-08-16T09:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: cannot create tmp file for DCL</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cannot-create-tmp-file-for-dcl/m-p/11361609#M42081</link>
      <description>&lt;P&gt;Well, you will definitely need permission to write there which you most likely don't have.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can't you use something like this? See&amp;nbsp;&lt;A href="https://help.autodesk.com/view/ACD/2022/ENU/?guid=GUID-F417A5EF-95BB-47EE-B60E-7C017635580D" target="_blank" rel="noopener"&gt;HERE&lt;/A&gt;&amp;nbsp;where it goes...&lt;/P&gt;
&lt;PRE&gt;(vl-filename-mktemp nil nil ".dcl")&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 09:41:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cannot-create-tmp-file-for-dcl/m-p/11361609#M42081</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2022-08-16T09:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: cannot create tmp file for DCL</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cannot-create-tmp-file-for-dcl/m-p/11361671#M42082</link>
      <description>&lt;P&gt;I entered it in the lisp console :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;; warning:cannot create tmp file for DCL: "C:/Program Files/Autodesk/AutoCAD 2022/$vld$.dcl"
_$ (vl-filename-mktemp nil nil ".dcl")
"C:\\Users\\me\\AppData\\Local\\Temp\\$VL~~001.dcl"
_$ 
; warning:cannot create tmp file for DCL: "C:/Program Files/Autodesk/AutoCAD 2022/$vld$.dcl"
_$ &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and in the command line to.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have the rights to edit in the AutoCad version directory ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;maybe reinstall acade 2022&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is with the command to preview the DCL.&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 10:23:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cannot-create-tmp-file-for-dcl/m-p/11361671#M42082</guid>
      <dc:creator>Wheelie22</dc:creator>
      <dc:date>2022-08-16T10:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: cannot create tmp file for DCL</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cannot-create-tmp-file-for-dcl/m-p/11362993#M42083</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/581245"&gt;@Wheelie22&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Perhaps it's a TRUSTEDPATH roadblock.&lt;/P&gt;
&lt;P&gt;If you have or know of a trusted path, you can specify it for the 2nd nil, eg.&lt;/P&gt;
&lt;P&gt;(vl-filename-mktemp nil "C:\\MyTrustedFolder" ".dcl")&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2022 19:58:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cannot-create-tmp-file-for-dcl/m-p/11362993#M42083</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2022-08-16T19:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: cannot create tmp file for DCL</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cannot-create-tmp-file-for-dcl/m-p/11363672#M42084</link>
      <description>&lt;P&gt;No.&lt;/P&gt;&lt;LI-CODE lang="general"&gt;_$ 
_$ (vl-filename-mktemp nil "d:\-=Data=-\Documents\Acade 2022\temp\" ".dcl")
; error: misplaced dot on input
_$ (vl-filename-mktemp nil "d:\-=Data=-\Documents\Acade 2022\temp" ".dcl")
"C:\\Users\\me\\AppData\\Local\\Temp\\$VL~~001.dcl"
_$ 
; warning:cannot create tmp file for DCL: "C:/Program Files/Autodesk/AutoCAD 2022/$vld$.dcl"
_$ 
_$ &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This&amp;nbsp;&lt;STRONG&gt;vl-filename-mktemp&lt;/STRONG&gt; does not change the DLC&amp;nbsp;&lt;STRONG&gt;tmp file&lt;/STRONG&gt; location.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reinstall is the best option, like W.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a AutoCad for Linux ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 05:42:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cannot-create-tmp-file-for-dcl/m-p/11363672#M42084</guid>
      <dc:creator>Wheelie22</dc:creator>
      <dc:date>2022-08-17T05:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: cannot create tmp file for DCL</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cannot-create-tmp-file-for-dcl/m-p/11364478#M42085</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/581245"&gt;@Wheelie22&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe a reinstall is in order.&lt;/P&gt;
&lt;P&gt;I had no problem either way...&lt;/P&gt;
&lt;P&gt;Command: (vl-filename-mktemp nil nil ".txt")&lt;BR /&gt;"C:\\Users\\juhden\\AppData\\Local\\Temp\\$VL~~001.txt"&lt;/P&gt;
&lt;P&gt;Command: (vl-filename-mktemp nil "c:\\custom" ".txt")&lt;BR /&gt;"c:\\custom\\$VL~~002.txt"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I did use a double backslash.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2022 12:59:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cannot-create-tmp-file-for-dcl/m-p/11364478#M42085</guid>
      <dc:creator>john.uhden</dc:creator>
      <dc:date>2022-08-17T12:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: cannot create tmp file for DCL</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cannot-create-tmp-file-for-dcl/m-p/11369698#M42086</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;for many CAD/s, you can use this my local function named "str_pathtemp"&lt;/P&gt;&lt;LI-CODE lang="general"&gt;;;  .--/|
;;o~ "   `.. - - - - .
;; `~~\                `.
;;     `.   }    {    /\|
;;       \  |~- -~\   |
;;       || |     &amp;gt;&amp;gt; /
;;\\|/   ||_|    ;;rem:_/        \|/
;;                      \|;;rem:
;;Inf: ZwCad da eroare la getenv("TEMP") result=nil
;;Out:rr:string=("".get temporally directory)(nil.none)&lt;/LI-CODE&gt;&lt;P&gt;i force the user to edit-normal. You see the normal-version upload.txt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You see how to run here&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;Command: (str_pathtemp)
"C:/DOCUME~1/adruianb/LOCALS~1/Temp/"

Command: (strcat (str_pathtemp) (rtos (getvar "CDATE") 2 12))
"C:/DOCUME~1/adruianb/LOCALS~1/Temp/20220820.00394077"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2022 19:05:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cannot-create-tmp-file-for-dcl/m-p/11369698#M42086</guid>
      <dc:creator>diagodose2009</dc:creator>
      <dc:date>2022-08-19T19:05:49Z</dc:date>
    </item>
    <item>
      <title>Re: cannot create tmp file for DCL</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cannot-create-tmp-file-for-dcl/m-p/11377068#M42087</link>
      <description>&lt;P&gt;You can reset where the temp files are written to type Config Files and set your Temporary directory to one you have. I have a D:\Acadtemp and its suprising how much junk ends up in there.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 02:05:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cannot-create-tmp-file-for-dcl/m-p/11377068#M42087</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2022-08-24T02:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: cannot create tmp file for DCL</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cannot-create-tmp-file-for-dcl/m-p/11377608#M42088</link>
      <description>&lt;P&gt;Are you using some kind of folder mapping or folder mirroring/duplication? (the original file path looks fine, only the warning mentions a strange path)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Vladimir Michl, &lt;A href="http://www.arkance-systems.cz" target="_blank"&gt;www.arkance-systems.cz&lt;/A&gt; - &lt;A href="http://www.cadforum.cz" target="_blank"&gt;www.cadforum.cz&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 09:15:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cannot-create-tmp-file-for-dcl/m-p/11377608#M42088</guid>
      <dc:creator>vladimir_michl</dc:creator>
      <dc:date>2022-08-24T09:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: cannot create tmp file for DCL</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cannot-create-tmp-file-for-dcl/m-p/11379955#M42089</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Do you have the rights to edit in the AutoCad version directory ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;C:/Program Files/Autodesk/AutoCAD&amp;nbsp; &lt;STRONG&gt;"your version"&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Maybe it's a rights thing.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 06:51:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cannot-create-tmp-file-for-dcl/m-p/11379955#M42089</guid>
      <dc:creator>Wheelie22</dc:creator>
      <dc:date>2022-08-25T06:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: cannot create tmp file for DCL</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cannot-create-tmp-file-for-dcl/m-p/12778931#M42090</link>
      <description>&lt;P&gt;I solved it creating manually an empty file with the name &lt;STRONG&gt;$vld$.dcl&lt;/STRONG&gt;, then copy it into that default folder (i.e. "&lt;SPAN&gt;C:/Program Files/Autodesk/AutoCAD 2022/") and assigning all right only to this file.&amp;nbsp;It is, edit its Properties &amp;gt; Security and Add "Users"&amp;nbsp;in the Group or user names list (it is: Edit... &amp;gt; Add... &amp;gt; type 'users' in the 'Enter the object names' then press 'Check Names...', select the result then click 'OK'), then assign all rights of all users in the list. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;That works and won't be necessary to change the rights to all folder.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 20:51:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cannot-create-tmp-file-for-dcl/m-p/12778931#M42090</guid>
      <dc:creator>miguel.vivancoJMT9G</dc:creator>
      <dc:date>2024-05-16T20:51:35Z</dc:date>
    </item>
    <item>
      <title>Re: cannot create tmp file for DCL</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cannot-create-tmp-file-for-dcl/m-p/14087919#M170769</link>
      <description>&lt;P&gt;بسم الله الرحمن الرحيم&lt;BR /&gt;السلام عليكم ورحمة الله وبركاته&lt;BR /&gt;&amp;nbsp;&lt;STRONG&gt;$vld$.dcl&amp;nbsp;&lt;/STRONG&gt;تم حل المشكلة بعمل ملف باسم&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;في موقع&amp;nbsp;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;C:/Program Files/Autodesk/AutoCAD 2022/"&lt;/SPAN&gt;&lt;BR /&gt;واعطاء جميع الصلاحيات لمستخدم الكل&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2026 08:07:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cannot-create-tmp-file-for-dcl/m-p/14087919#M170769</guid>
      <dc:creator>338219338219</dc:creator>
      <dc:date>2026-04-13T08:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: cannot create tmp file for DCL</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cannot-create-tmp-file-for-dcl/m-p/14087933#M170770</link>
      <description>&lt;P&gt;بسم الله&lt;BR /&gt;السلام عليكم&lt;BR /&gt;المشكلة أن ملف مربع الحوار ليس محفوظ في مجلدات الحث الخاصة بالإوتوكاد&lt;BR /&gt;فيجر الأوتوكاد ‘لى عمل ملف في مجلد الأوتوكاد&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Apr 2026 08:21:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/cannot-create-tmp-file-for-dcl/m-p/14087933#M170770</guid>
      <dc:creator>338219338219</dc:creator>
      <dc:date>2026-04-13T08:21:48Z</dc:date>
    </item>
  </channel>
</rss>

