Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Relative path and absolute Path

Hi,

i am trying to understand the the difference between relative path and absolute path..

what does the .\ and ..\ represent iam trying to understand..

i assume that  . means current directory and .. means previous directory..

can someone elaborate or explain when to use this . and ..\

Thanks

1 Solution

Accepted Solutions
jagan
Luminary Alumni
Luminary Alumni

Hi,

Absolute path means, you need to give the entire path of the file, for example

C:\Qlikview\Data\SalesData.txt

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

Suppose if you want to access a file in Qlikview folder then you need to use ..\, mean that go back one folder level back.

..\FileinQlikviewFolder.txt;

Hope this helps you.

Regards,

Jagan.

View solution in original post

2 Replies
sushil353
Master II
Master II

Absolute path:

absolute path is the actual path of the data file in your harddisk.

if you choose absolute path (uncheck the relative path) then you can observe the path of the file

it will come something like  E:\QlikView\RF\codiciw13.xlsx

when you move the application to other machine then path and drive of the data file should be same as it is in the developer system

Relative path:

relative path tells qlikview, what is the data file path relative to the application.

HTH

Sushil

jagan
Luminary Alumni
Luminary Alumni

Hi,

Absolute path means, you need to give the entire path of the file, for example

C:\Qlikview\Data\SalesData.txt

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

Suppose if you want to access a file in Qlikview folder then you need to use ..\, mean that go back one folder level back.

..\FileinQlikviewFolder.txt;

Hope this helps you.

Regards,

Jagan.