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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

"execute"

Hi all, I have a problem . . . I want to delete a file .txt fromqlik view script, I have try:

EXECUTE cmd.exe /C "C\Programmi\R\R-2.9.2\bin\del outArimaId.txt";

but it dos not work.

1 Solution

Accepted Solutions
Miguel_Angel_Baeyens

Hi,

The following line works fine

EXECUTE cmd /c del "C:\file.txt";

What error are you getting?

Miguel Angel Baeyens

BI Consultant

Comex Grupo Ibérica

View solution in original post

4 Replies
Miguel_Angel_Baeyens

Hi,

Go to the script editor dialog, Settings (in the lower part), and make sure "Can Execute External Programs" is checked.

Hope that helps.

Miguel Angel Baeyens

BI Consultant

Comex Grupo Ibérica

Not applicable
Author

I tried, but still does not work

Miguel_Angel_Baeyens

Hi,

The following line works fine

EXECUTE cmd /c del "C:\file.txt";

What error are you getting?

Miguel Angel Baeyens

BI Consultant

Comex Grupo Ibérica

Not applicable
Author

Thank you  very much