Nikhil EPC exclusive Ramcharan Dhruva exclusive

Friday, 5 April 2013


How to copy all files and folders names into text file by doing one step:

1. Open up your command prompt by typing cmd in the run dialog box and hitting Enter.
2. Navigate to the directory which has the files and type the following command -
DIR /B /O:N > filename.txt
This will save all the filenames in the current directory to a text file. The text file will be saved in the same directory.
3. To save file names from any sub-directories in the current folder, just add /S like -
DIR /B /O:N /S > filename.txt


Tags: how to copy all filenames in a folder to excel copy file names from folder linux copy all files and folders cmd copy all files and folders dos copy all files and folders robocopy copy all files and folders scp copy all files and folders ubuntu copy all files and folders windows tricks computer tricks copy files names in dos
Naga Chaithanya SSS Banner
Suamanth Naruda Donaruda Banner