Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Announcements
Qlik Analytics Tour 2020 Online. Begins August 10th. Register Today
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Contributor III
Contributor III

Delete the files already read and converted to qvd.

Hello,

I have a script that reads several files and consolidates the file into a QVD. Is it possible to clean the folder, ie delete the files already read by the script? Can you help me with some example and / or tip?

Thank you in advance.

Att

Labels (1)
1 Solution

Accepted Solutions
Highlighted
Specialist II
Specialist II

Hello Edu,

 

You can write out the files to be deleted to another csv/text file.  And then call a .bat file to delete all the files listed in that file.

 

https://help.qlik.com/en-US/sense/February2018/Subsystems/Hub/Content/Scripting/ScriptRegularStateme...

View solution in original post

4 Replies
Highlighted
Creator III
Creator III

Hi,

 

Yes. you can delete. Create QVD's. and  If you want to same data, load QVD's and Store as a CSV file.

 

 


-Somasundaram
Highlighted
Contributor III
Contributor III

Thank you! @Somasundaram

But how do I automatically delete files that have already been read? Do you have any script examples?

Highlighted
Creator III
Creator III

You can achieve using batch file.
Once qlik loads completed, then delete all the files using batch file.

-Somasundaram
Highlighted
Specialist II
Specialist II

Hello Edu,

 

You can write out the files to be deleted to another csv/text file.  And then call a .bat file to delete all the files listed in that file.

 

https://help.qlik.com/en-US/sense/February2018/Subsystems/Hub/Content/Scripting/ScriptRegularStateme...

View solution in original post