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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] Possible to use filemask in tFileExist

I am trying to find out if a file exists in a directory. I am using a tFileExist and for the file name/stream I am putting:
"C:/Users/user/Documents/directory/0697.*"
So I am trying to find out if any files starting with 0697.
I have done this but when I run it the tfileExist returns false even if there is a file in the directory starting with 0697.
Any Suggestions?
Labels (2)
1 Solution

Accepted Solutions
Jcs19
Creator II
Creator II

Hi, you should use tfilelist and add a filemask.
Afterward you can use iterate (for each file found) or runIf

View solution in original post

2 Replies
Jcs19
Creator II
Creator II

Hi, you should use tfilelist and add a filemask.
Afterward you can use iterate (for each file found) or runIf
Anonymous
Not applicable
Author

Hi,
To make it clear, please see my screenshots
Best regards
Sabrina
0683p000009MEJP.png 0683p000009MEOP.png 0683p000009MEL5.png