4 of 4 people found this helpful
Do you mean adding the content of the variable to a file, or creating a file named as the variable?
For the first case, what about a simple command line such as (e.g. for Unix/Linux):
echo %%MYVAR >> /path/to/myfile
For the second case, something similar:
Thank you. Got it.