Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to delete a qvd file

Hello,

Someone can tell me how to delete a qvd file?

Maybe something like: drop file '...\file_name.qvd'

Thank you very much.

1 Solution

Accepted Solutions
maxgro
MVP
MVP

I think a warning, if you check this but usually it works (desktop and server)

1.png

View solution in original post

9 Replies
Not applicable
Author

I've tryed:   EXECUTE '...\Etape1.qvd' (qvd);

but it didn't work.

maxgro
MVP
MVP

DIRECTORY;

t2: load rowno() as id autogenerate 100;

store t2 into t2.qvd (qvd);

EXECUTE cmd.exe /c del /q   t2.qvd;

more detail here

Re: Deleting qvd

ramoncova06
Specialist III
Specialist III

can I ask what do you want to delete the QVD ?

It would probably be better if you did this outside of QV and use a scheduler/bat file for windows maintenance

Not applicable
Author

Thank you very much, with this method, it pop up a probleme of security.

But thank you all the same.

Anonymous
Not applicable
Author

Why don't you delete the QVD file where it stores to and then comment out your store into script and then reload again.

Not applicable
Author

You are right, but I just don't want to delete it myself .

maxgro
MVP
MVP

I think a warning, if you check this but usually it works (desktop and server)

1.png

Siva_Sankar
Master II
Master II

You need to allow Script (Allow Database Write and Execute Statements) in User Preferences/Security tab.

Siva_Sankar
Master II
Master II

PFA