Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
FLASH SALE: Save $500! Use code FLASH2026 at checkout until Feb 14th at 11:59PM ET. Register Now!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

File path including \n

Hi everyone,

I try to connect to an Excel file in a shared directory. The file path is like

\\nA-folder1\nB-folder2\

whici is put in a variable.

But the two \n are replaced by return codes so the variable looks like the following afterwards:

"\

A-folder1

B-folder2"

How to make sure this variable is understood as a simple directory path?

Thanks

Labels (1)
1 Reply
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

enclose the path in double quotes or square brackets: "\\nA-folder1\nB-folder2\*.xls" or [\\nA-folder1\nB-folder2\*.xls]


talk is cheap, supply exceeds demand