Thursday, February 18, 2010
How to retrieve all the file names from a folder at a time
Many of us come across such situation when u need to document teh details of every file in excelIf ur folder exists in D:\
"Anu" is the folder name
Go to Command prompt
Start menu --> Run --> cmd
>D:
D:\>dir /b *.*
It will display all files with in that particular folder
But to get all those file names into any excel file specify the path
or file name (if path not specified then thsi file will be genarated ib same folder where files exists )
D:\>dir /b *.*
So thats so simple to get file names at a time
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment