Page 1 of 1 |
|
Posted: Wed, 2nd Dec 2009 11:08 Post subject: How to save files on a directory to Text file ? |
|
 |
How to save files on a directory to Text file ?
as i have files in directory want to save it to txt file, and also directories under directories i want to save those directories into txt file also ..
I used to use folderview but this is old software and i can't find it anymore, is there a new software to do this ?
|
|
Back to top |
|
 |
|
Posted: Wed, 2nd Dec 2009 11:34 Post subject: |
|
 |
Open the Command Line Interface (run/cmd), navigate to the folder and type "dir >filelist.txt"
To see the text format options for the DIR command just type "dir /?". All without quotes.
|
|
Back to top |
|
 |
|
Posted: Wed, 2nd Dec 2009 11:45 Post subject: |
|
 |
Thanks you are expert
Do you know how to make the txt file has only file name without all details ?
|
|
Back to top |
|
 |
garus
VIP Member
Posts: 34200
|
Posted: Wed, 2nd Dec 2009 11:49 Post subject: |
|
 |
snip
Last edited by garus on Tue, 27th Aug 2024 21:16; edited 1 time in total
|
|
Back to top |
|
 |
|
Posted: Wed, 2nd Dec 2009 12:51 Post subject: |
|
 |
|
|
Back to top |
|
 |
spankie
VIP Member
Posts: 2958
Location: Belgium
|
Posted: Wed, 2nd Dec 2009 13:27 Post subject: |
|
 |
for more info on output details use:
dir/?
|
|
Back to top |
|
 |
|
Posted: Wed, 2nd Dec 2009 18:00 Post subject: |
|
 |
If you are under Vista or Win7 there is a way to do it without console:
1. Go to the needed folder
2. Select all content (CTRL + A) or just items you are interested in
3. Hold SHIFT and Right Click on any selected folder
4. In context menu select "Copy as Path"
5. Open Notepad, paste data and save file
By this method there will be path info, not just filenames
"G:\Impulse Archives"
"G:\Share Folder"
"G:\Vista"
"G:\VMWare VMs"
"G:\XP"
"G:\DOSBox"
but it's easy to fix by doing a simple Replace All, replacing path info with nothing.
|
|
Back to top |
|
 |
|
Posted: Fri, 4th Dec 2009 22:59 Post subject: |
|
 |
Thanks everyone for such great help 
|
|
Back to top |
|
 |
|
Posted: Sat, 5th Dec 2009 12:27 Post subject: |
|
 |
Not sure what this could be used for but I learned something new today thanks.
|
|
Back to top |
|
 |
|
Posted: Sat, 5th Dec 2009 14:35 Post subject: |
|
 |
Ci2e wrote: | Not sure what this could be used for but I learned something new today thanks. |
It's used to make a folder file listing. You should try, it cleanses the soul.
|
|
Back to top |
|
 |
|
Posted: Sat, 5th Dec 2009 15:01 Post subject: |
|
 |
for those of us who have 3 HD's equaling over 1TB worth of shit and can't remember where everything is located lol
|
|
Back to top |
|
 |
Page 1 of 1 |
All times are GMT + 1 Hour |