The syntax% ~ f1 changes the parameter representing the file name to its full path. Is there a way to get this functionality for variables defined in a script package, and not just for parameter values?
For example, if the user provides the command line parameter "test.txt", the following script works:
echo Qualified file name:% ~ f1
But if I try to do the same with a variable instead of a parameter, how can I get the same functionality? This attempt is not valid syntax and does not work:
set unqualifiedFilename = "test.txt"
echo Qualified file name:% ~ funqualifiedFilename
Blaine
source share