batch file - How do I turn the content of a var in an absolute path? -
Suppose i have this:
set x = ..
How do I change it later in a complete path? Can you please write about how it would be in a script?
I tried with % ~ dpx
, but he gave this error message: The following use of path operator is invalid in batch-parameter replacement:% ~ dpX < / Code>
After a lot of searches, I've found a way to do this: %% y
X = %% ~ dpy
Comments
Post a Comment