Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I've got
Load...
FROM $(vQvdPath) & '\my_QVD_Data_File.QVD'
my variable vQvdPath has: QVD\
I want to be able to change my vQvdPath easily, that's why I used this variable. What am I doing wrong?
no you can't just add like that and no it's not a bug, only variables created in the script can be used in the script.
glad you found the answer
Joe
Hi
FROM [$(vQvdPath)\my_QVD_Data_File.QVD] (qvd)
HTH
Jonathan
Thanks, Jonathan, unfortunately, it doesn't like the square brackets. I've also tried '[' & $(vQvdPath).
The error is:
Cannot open file 'C:\.....' The filename, directory name, or volume label syntax is incorrect.
Use what Jonathan said just without the \
So:
FROM [$(vQvdPath)my_QVD_Data_File.QVD] (qvd)
as your path has the \ already
Joe
I found the answer.
It looks like you can't just add a variable to the Variables list. (ie. in Variables list, click "add)
But you can do this: SET vQvdPath = QVD\; <-- it is then added to the Variables list. Then it's happy.
I'm not sure if it's a bug.
no you can't just add like that and no it's not a bug, only variables created in the script can be used in the script.
glad you found the answer
Joe
Thanks JoeSimmons for clarifying . I hadn't realised that.