Computing.Net > Forums > Programming > list all files in a dir & subdir

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

list all files in a dir & subdir

Reply to Message Icon

Name: coolgoose
Date: March 16, 2006 at 10:12:05 Pacific
OS: Windows 2000
CPU/Ram: 128
Product: microsoft
Comment:

I have a folder which has sub folders and inside the sub folders has files. how do i get list of all the files present in subfolders also. I used dir > asd.txt but i just get the directory name and files for that directory only. it will not go to the subfolder and list the files inside the subfolders eg Compounds/Reports/test.txt

raj



Sponsored Link
Ads by Google

Response Number 1
Name: wizard-fred
Date: March 16, 2006 at 12:51:37 Pacific
Reply:

dir /s > asd.txt

dir /? for other options


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: list all files in a dir & subdir

How do u list all files on PC www.computing.net/answers/programming/how-do-u-list-all-files-on-pc/16965.html

Move all the .csv files not in .txt www.computing.net/answers/programming/move-all-the-csv-files-not-in-txt/16740.html

Batch to move all files in a list. www.computing.net/answers/programming/batch-to-move-all-files-in-a-list/16817.html