At first, you need to know where you store the QVDs. To store QVDs, you must setup a new folder connection and after that you can use the next line:
STORE TableName into [lib://ConnectionName/TableName.qvd];
In order for a QVD to store, your script must have been successfully loaded up and until the STORE command. You can find the QVD in the file explorer by navigating to the same folder as the ConnectionFolder.