I’m sure this should be simple, but I can’t seem to get it.
I have a folder name in a text file. I wish to get dir to use the folder name from the text file and write the contents to another file.
Like so….
dir
For some reason it just gives the content of the folder I’m in when running it. I’ve checked all the documentation I can find and none of it suggests that this can’t be done or gives an example of piping/re-directing into DIR.
Thanks