
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Relative Path
,
I am using a below syntax in load script. I need to change the path whenever I moved the qvw file from one path to another one. I have tried to make this as relative path but not able to get the correct solution.
Call ScanFolder('C:\Users\Tamilarasu.Nagaraj\Desktop\CP\Files received') ;
Can anyone suggest me an idea to make this easier.?
Thanks.
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If QVW and "Files received" are in the same folder, then use this
Call ScanFolder('Files received') ;

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Nagaraj,
Relative path means, you need to give the path based on the current path, for example if your Qlikview file and SalesData.txt file are in the same path(C:\Qlikview\Data\) then you can use
SalesData.txt no need of the remaining path.
or
.\SalesData.txt


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
If you have to change your file path and don't want to change the data file path then you should use Absolute path..
In case of Relative path you have to change the path of your data/qvw file whenever you change the qvw file path/folder..
In your case it seems you have used Absolute path it seems... which is the rt way in your situation ..
Please elaborate your issue if you are facing any specific error..
HTH
Sushil

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Sorry for not explaining the problem clearly. I kept the data files and QVW file in same folder. I have to move the folder (Both data and QVW file) but don't want to change the path often. So I am expecting relative path solution.
! !
Form the above screenshot, If I move the Overview QV folder to some other location, the path should also changed automatically (Relative path). I am not sure how to do as I am new to Qlikview.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If QVW and "Files received" are in the same folder, then use this
Call ScanFolder('Files received') ;
