The location of QVDbuffer is not possible to make this change to the document, only by the user.
You can make the creation of explicit QVD, so you can set the recording location through variables.
LET vLocationQVD = 'c:\Data\QVD Extraction\'
SQL Select * from Customer;
Store Customer into $(vLocationQVD)Customer.qvd;