
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
.\ is the relative path to the current directory
..\ is the relative path to the parent of the current directory (i.e. one directory up)
If you're using relative paths you can use ..\ to point to somewhere else:
..\..\dev\include\myscript.qvs
means two directories up, then to dev and then into include and finally the file myscript.qvs
talk is cheap, supply exceeds demand

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can u please give me example where these are implemented.
regards
Mahesh Thalluri

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
LET
vTable
= 'CUSTOMER';
$(vTable)
:
LOAD
*
FROM
[..\..\QVD_Standard\$(vOrg)_$(vTable).QVD]
(qvd
);
LET
vTable
= 'ITEM';
$(vTable)
:
LOAD
*
FROM
[..\..\QVD_Standard\$(vOrg)_$(vTable).QVD]
(qvd
);
The use of ..\..\ allows for the load to point at a file in a dfferent directory relative to the one the dashboard is in, without having to hard code the parth. This means I can move the structure fron DEV area to TEST server and not have to worry about changing a lot of file references, for example.


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Well found!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi
Relative path indicates the directory of data source where qlikview application are saved.
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;
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
