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

Deleting files through macro script - QV server tasks

Hi

I am trying to delete some temporary files produced during load using VB macro function. This runs fine when exceuted with QlikView Desktop. But when I run it as a QlikView server scheduled task files are not deleted. I have set unsafe macros option in QMC.

I saw some discussions on the comunity regarding this, but was not able to figure it out.

Thank you

Darius

1 Solution

Accepted Solutions
Not applicable

What about deleting the files from the load script directly like this:

          TRACE Deleting ALL QVDs from Directory;

          EXECUTE cmd /C DEL "C:\MyDataDirectory\*.qvd";

View solution in original post

2 Replies
Not applicable

What about deleting the files from the load script directly like this:

          TRACE Deleting ALL QVDs from Directory;

          EXECUTE cmd /C DEL "C:\MyDataDirectory\*.qvd";

Anonymous
Not applicable

I'm usining
EXECUTE filename.bat

to move files.  Can be deleted the same way.

Regards,

Michael