I created a folder c:\QVW\ include and in that folder i have a file called Data_file_locations.txt
i have only one line in that file
SET vDFLocation = 'c:\QVW\Data\';
then in your script, you would need something like
// Get the directory that the QVW is being reloaded from.
LET v_RootDirectory = Replace (DocumentPath (), '\' & DocumentName (), '');
// Bring in variables from the Include directory file.
// Setup locations of different data sources.
SET v_QVDFolder = '$(vDFLocation)QVD\';
SET v_ExcelFolder = '$(vDFLocation)Excel\';
SET v_CSVFolder = '$(vDFLocation)CSV\';
SET v_ExcelControlFolder = '$(vDFLocation)Excel\';
when you load your source file(qvd or excel )
you'd need to do
(ooxml, embedded labels, header is 2 lines, table is INTAKE);
when you change to the new system/location, you just need to change the include file.