Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I am using below scirpt to delete all the QVD files from a path. The path is stored in a variable i.e; vWithCT.
when i reload the application, it is opening the command prompt and asking Yes/No ? ,if i click on Yes it is deleting the qvd's from folder.
Now what i am trying is it should not ask a question whether to delete like yes/no , it should directly delete the files.
How can i do this? Please check my written script.
IF(ScriptErrorCount=0) then
set vError = 0;
execute cmd.exe /c del "*.qvd" "$(vWithCT)";
ELSE
set vError = 1;
ENDIF
Thanks in advance.
Hi,
Check the "Can execute external programs" option from the settings in the Edit script dialog.
For more info check out this link http://community.qlik.com/message/142327#142327.
Celambarasan