Reputation: 948
I'm trying to list the content of two directories on my HD and put it in a file.
For the moment I have this which list all the directories and contents :
echo off
for /r %%a in (*) do echo %%a >> file.txt
How can I look into a specific folder like Pictures
for example ?
Here is the tree :
> Dir1
> Dir2
> Pictures
> file.bat
Upvotes: 0
Views: 910