Copy folder names to a text file in windows



Step 1:
                Open the Windows Command prompt

Step 2:
                Change the Drive location by typing d:

Step 3:
                Now change the directory location from that drive by typing

                                cd foldername
Step 4:
                Now type this following command to get the list of folder name in a text file

dir /b > foldername.txt


No comments:

Post a Comment