Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
rish_sai
Contributor III
Contributor III

How to delete QVD file for load script in Qlik Sense

Hi All, 

Do you know how to use Qlik Sense script to delete the QVD file?

 Thanks.

1 Solution

Accepted Solutions
dplr-rn
Partner - Master III
Partner - Master III

This statement is not supported in standard mode.
"
If you want to use Execute the following conditions need to be met:

You must run in legacy mode (applicable for Qlik Sense and Qlik Sense Desktop).
You need to set OverrideScriptSecurity to 1 in Settings.ini (applicable for Qlik Sense).Settings.ini is located in C:\ProgramData\Qlik\Sense\Engine\ and is generally an empty file.
"

https://help.qlik.com/en-US/sense/November2018/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptRegu...

View solution in original post

4 Replies
Wen
Partner - Contributor III
Partner - Contributor III

Hi.
Type in the script editor:
Execute cmd.exe /C del "qvd.qvd";

Whats between quote marks should be the location of the .qvd file.
rish_sai
Contributor III
Contributor III
Author

Thanks for replying 

yeah i have tried same logic but still it not working 

Execute CMD.EXE/D del  "D:\Qlik\QVDs\Old Qvds\abcdef.qvd";

 

dplr-rn
Partner - Master III
Partner - Master III

This statement is not supported in standard mode.
"
If you want to use Execute the following conditions need to be met:

You must run in legacy mode (applicable for Qlik Sense and Qlik Sense Desktop).
You need to set OverrideScriptSecurity to 1 in Settings.ini (applicable for Qlik Sense).Settings.ini is located in C:\ProgramData\Qlik\Sense\Engine\ and is generally an empty file.
"

https://help.qlik.com/en-US/sense/November2018/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptRegu...
simonaubert
Partner - Specialist II
Partner - Specialist II

Hello all,

 

You can also vote on this idea. :

https://community.qlik.com/t5/Ideas/Delete-Files-from-a-lib/idi-p/1689857


Best regards,

Simon

Bi Consultant (Dataviz & Dataprep) @ Business & Decision