30

Jan

How to print the name of files in a folder Print
User Rating: / 1
PoorBest 
Written by Ananta Acharya   

Sometimes I need to print all the musics I have in certain folder, or pictures or even files. It is hard to write them manually, it is also painstaking job to use print screen feature. So here is a solution

Open command prompt. go to the directory whose files you want to print. (If you have not already done some dos stuffs. then you can follow me. Lets say you have to print list of music in your D:/Music/Rock/New folder. then after opening command prompt 

1. d: (enter) it will change directory to D drive

2. dir (enter) it will show all the files and folders in d drive. it should show Music

3. cd Music (enter) directory changed to Music, you can again use dir to see files

4. cd Rock

5. cd New

 Now, you are on the desired directory)

 then you need to type dir >musiclist.txt this will create a txt file in the same folder with the list of files in that folder.

if you want to include subdirectory then dir /s>list.txt,  if you don't want other summries then dir /b>list.txt

 Have a nice directory printing



Comments
Search
Only registered users can write comments!

!joomlacomment 4.0 Copyright (C) 2009 Compojoom.com . All rights reserved."