I tried this code to import the full path from a text file:
for /F "tokens=2 delims==" %%a in ('findstr /I "makedir=" config.txt') do md "%%a"
The full path in txt file is:
makdir=%appdata%/test
My problem is the path returns as text, not as a directory path. Essentially I need %appdata%
to expand as opposed to remain in its variable form.