<?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: Question about working directory; in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Question-about-working-directory/m-p/1158103#M918332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The default directory is always the directory of the current document (at least in QV Desktop) or the path that is set in the QMC (for server installations). Specifying a simple DIRECTORY; statement without any parameters will return you to the working directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that there have been some changes to how QlikView functions react to the path set in a DIRECTORY statement. It used to be just the LOAD statement that was affected, but nowadays (SR11+ and QV12), Qvd functions also make use of the path specified in the last DIRECTORY statement. If they use relative paths, that is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 May 2016 10:42:44 GMT</pubDate>
    <dc:creator>Peter_Cammaert</dc:creator>
    <dc:date>2016-05-17T10:42:44Z</dc:date>
    <item>
      <title>Question about working directory;</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-working-directory/m-p/1158097#M918326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DIRECTORY:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in a script I can work with relative paths..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can select a directory:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DIRECTORY C:\curso qlickview\ficheros;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I would like to know how to change th default directory..., the directory that it's used when I use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DIRECTORY;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-working-directory/m-p/1158097#M918326</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Question about working directory;</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-working-directory/m-p/1158098#M918327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Juan,&lt;/P&gt;&lt;P&gt;Do u want to change or rename the directory.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 08:30:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-working-directory/m-p/1158098#M918327</guid>
      <dc:creator>ajsjoshua</dc:creator>
      <dc:date>2016-05-17T08:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Question about working directory;</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-working-directory/m-p/1158099#M918328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to change&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 10:24:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-working-directory/m-p/1158099#M918328</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-17T10:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: Question about working directory;</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-working-directory/m-p/1158100#M918329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It will take the relative directory of the app file location by default&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 10:28:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-working-directory/m-p/1158100#M918329</guid>
      <dc:creator>sujeetsingh</dc:creator>
      <dc:date>2016-05-17T10:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Question about working directory;</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-working-directory/m-p/1158101#M918330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;Try this in script&lt;/P&gt;&lt;P&gt;SET vPath = &lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;\curso qlickview\ficheros;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when u r loading tables use this&lt;/P&gt;&lt;P&gt;From&lt;/P&gt;&lt;P&gt;[$(vPath)Product.qvd]&lt;/P&gt;&lt;P&gt;qvd;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 10:32:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-working-directory/m-p/1158101#M918330</guid>
      <dc:creator>ajsjoshua</dc:creator>
      <dc:date>2016-05-17T10:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Question about working directory;</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-working-directory/m-p/1158102#M918331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi these type of problems you will face when you are moving something from Dev to Prod or to Test&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To solve the issues people generally maintain the paths in a file and load them in a variable and do accordingly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 10:36:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-working-directory/m-p/1158102#M918331</guid>
      <dc:creator>kkkumar82</dc:creator>
      <dc:date>2016-05-17T10:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Question about working directory;</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-working-directory/m-p/1158103#M918332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The default directory is always the directory of the current document (at least in QV Desktop) or the path that is set in the QMC (for server installations). Specifying a simple DIRECTORY; statement without any parameters will return you to the working directory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that there have been some changes to how QlikView functions react to the path set in a DIRECTORY statement. It used to be just the LOAD statement that was affected, but nowadays (SR11+ and QV12), Qvd functions also make use of the path specified in the last DIRECTORY statement. If they use relative paths, that is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 10:42:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-working-directory/m-p/1158103#M918332</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-05-17T10:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: Question about working directory;</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-working-directory/m-p/1158104#M918333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can change the directory to where you stored your application or qvd's by having something like:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LET vDir = &lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;\curso qlickview\ficheros\&lt;/STRONG&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue',Helvetica,Arial,'Lucida Grande',sans-serif; font-size: 13px;"&gt;Always remember the backslash at the end of the filepath.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 10:59:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-working-directory/m-p/1158104#M918333</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-05-17T10:59:58Z</dc:date>
    </item>
    <item>
      <title>Re: Question about working directory;</title>
      <link>https://community.qlik.com/t5/QlikView/Question-about-working-directory/m-p/1158105#M918334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Juan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use listed below script for your versatile directory, and checked to check mark "Relative Paths" in edit script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Directory .\..\..;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;SET vDirectory = '..\..';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Ishfaque Ahmed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 11:28:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question-about-working-directory/m-p/1158105#M918334</guid>
      <dc:creator>engishfaque</dc:creator>
      <dc:date>2016-05-17T11:28:06Z</dc:date>
    </item>
  </channel>
</rss>

