If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Turning a File Tree to a Text File.....
I'd like to turn the file tree of certain folders on my computer, into a
text file. The reason is because when I go to a WIFI, I dont remember what files are on my home computer (desktop). Particularly when I download TV series and music videos from youtube. What I want to do is just create a list of files in a text file, for specific folders. I used to do this on my old Dos computers, using a command such as DIR FILENAME.TXT This works in windows from the command line, but I cant get the long file names. So, I'll end up with filenames like musicf~1.mp3. That's worthless!!!! Anyone know how I can do this in XP or Win98, or even Dos if there is a way to get the long filenames? Then all I have to do is print the list, or just copy the text file to my laptop so I can view it when I'm not at home. (Maybe there is something to download for doing this??????? |
Ads |
#3
|
|||
|
|||
Turning a File Tree to a Text File.....
On Thu, 08 May 2014 02:16:11 -0700, Paul wrote:
..snip... This one is flattened, suitable for scripting. dir /B /S C:\ output.txt This one is a tree. dir /S C:\ output.txt And this one has more information. dir /? ...snip... I'd add to that first one /On to put the list in alphabetical order: DIR /B /S /On C:\ directry.txt |
#4
|
|||
|
|||
Turning a File Tree to a Text File.....
On Thu, 08 May 2014 02:16:11 -0700, Paul wrote:
I'd add to that first one /On to put the list in alphabetical order: DIR /B /S /On C:\ directry.txt What do you do when you get the error messsage: "The directory name ....... is too long." ? |
#5
|
|||
|
|||
Turning a File Tree to a Text File.....
OldGuy wrote:
On Thu, 08 May 2014 02:16:11 -0700, Paul wrote: I'd add to that first one /On to put the list in alphabetical order: DIR /B /S /On C:\ directry.txt What do you do when you get the error messsage: "The directory name ....... is too long." ? Use a file name shortener on your MP3 collection. If the partition is NTFS, it's possible NFI will allow you to list the entire partition. Using your copy of 7Zip, you can likely spot the nfi.exe in here, without having to install it as such. http://support.microsoft.com/kb/253066 http://download.microsoft.com/downlo...us/oem3sr2.zip There is one particular file name length that File Explorer doesn't like (cannot delete it, either). But other tools can take care of it, by calls to the file system. For example, with ActiveState PERL I was able to rename a file, that Explorer would not touch. There is precisely one file name length, one character below max, that also prevents the user from "fixing" it. And another tool, such as an MP3 file name shortener may be required, just because of the bug in Explorer. Paul |
#6
|
|||
|
|||
Turning a File Tree to a Text File.....
On Thu, 08 May 2014 06:03:36 -0700, RobertMacy
wrote: On Thu, 08 May 2014 02:16:11 -0700, Paul wrote: ..snip... This one is flattened, suitable for scripting. dir /B /S C:\ output.txt This one is a tree. dir /S C:\ output.txt And this one has more information. dir /? ...snip... I'd add to that first one /On to put the list in alphabetical order: DIR /B /S /On C:\ directry.txt This works great. Here is a snip from my videos, this are just my tornado videos. (below) I did find that doing this on an entire partition can be a bit overwhelming. My main storage partition, which contains a lot of small ..jpg files, clipart, text files. PDFs and lots of other small files as well as all my music and some larger files too, created a 4.4meg text file. So I went to the music files and did just them, and got a file about 355K. Much more managable..... -------- clipped from my videos (weather\tornados) --------- E:\MASTER VIDEOS\Weather\Tornados E:\MASTER VIDEOS\Weather\Tornados\0E04A140-3048-78AB-F7081CFF1AE47856.flv E:\MASTER VIDEOS\Weather\Tornados\2013 Moore Tornado un edited Raw all clean.....mp4 E:\MASTER VIDEOS\Weather\Tornados\30A8BA12-3048-78AB-F73422E83FD35B1E.flv E:\MASTER VIDEOS\Weather\Tornados\4BFBCB36-1AA0-0548-B6CF0F3AB6E38BEC.flv E:\MASTER VIDEOS\Weather\Tornados\4F194237-1AA0-0548-B60585C149077184.flv E:\MASTER VIDEOS\Weather\Tornados\AMAZING WEATHER VIDEO - 60 Minutes of HD Tornadoes, Hurrican.mp4 E:\MASTER VIDEOS\Weather\Tornados\April 28, 2014 Large Louisville, Mississippi Tornado - Dashc.mp4 E:\MASTER VIDEOS\Weather\Tornados\Arkansas Tornado 2014.mp4 E:\MASTER VIDEOS\Weather\Tornados\Colossal Canadian tornado_.mp4 E:\MASTER VIDEOS\Weather\Tornados\DEADLIEST TORNADOES - NOVA - Discovery_Science_History (docu.mp4 E:\MASTER VIDEOS\Weather\Tornados\E6C2B6FB-1AA0-0548-B62C4513F6EB98BD.flv E:\MASTER VIDEOS\Weather\Tornados\F1F02104-3048-293E-9A5098468B8FDEF9.flv E:\MASTER VIDEOS\Weather\Tornados\FULL EPISODE_ Tornado Chasers, 2013 Season, Episode 5_ _Warn.mp4 E:\MASTER VIDEOS\Weather\Tornados\Helicopter Gets Sucked Into A Tornado.mp4 E:\MASTER VIDEOS\Weather\Tornados\INCREDIBLE lightning strike video___.mp4 E:\MASTER VIDEOS\Weather\Tornados\INCREDIBLE tornado video from NE Oklahoma_ May 1, 2008.mp4 E:\MASTER VIDEOS\Weather\Tornados\Jaw-dropping structure on mothership supercell storm - Easte.mp4 E:\MASTER VIDEOS\Weather\Tornados\Jaw-dropping, violent tornado hurling deadly softball hail_ .mp4 E:\MASTER VIDEOS\Weather\Tornados\KILLER WINDS - Incredible Video of the Most Powerful Winds o.mp4 E:\MASTER VIDEOS\Weather\Tornados\LARGEST TORNADO EVER___ From Birth to Death (w_ Radar _ Comm.mp4 E:\MASTER VIDEOS\Weather\Tornados\MASSIVE MISSISSIPPI TORNADO - April 28, 2014.mp4 E:\MASTER VIDEOS\Weather\Tornados\National Geographic - Witness Joplin Tornado (Documentary).mp4 E:\MASTER VIDEOS\Weather\Tornados\Okla. Teens Get Video of Deadly Tornado Overhead.mp4 E:\MASTER VIDEOS\Weather\Tornados\PBS NOVA 2013 Oklahomas Deadliest Tornadoes 720p x264 AAC.mp4 E:\MASTER VIDEOS\Weather\Tornados\RAW, never-before-seen storm chasing footage - Extreme torna.mp4 E:\MASTER VIDEOS\Weather\Tornados\Red Dust Devil-Red Tornado..mp4 E:\MASTER VIDEOS\Weather\Tornados\See houses completely leveled in Moore, Oklahoma.mp4 E:\MASTER VIDEOS\Weather\Tornados\Shawano County storm damage.mp4 E:\MASTER VIDEOS\Weather\Tornados\Storm chaser_s worst nightmare in tornado.mp4 E:\MASTER VIDEOS\Weather\Tornados\Storm Chasers S05E01.mp4 E:\MASTER VIDEOS\Weather\Tornados\Storm Chasers S05E02.mp4 E:\MASTER VIDEOS\Weather\Tornados\The best tornado footage ever recorded..mp4 E:\MASTER VIDEOS\Weather\Tornados\The Devastating Power of Tornadoes.mp4 E:\MASTER VIDEOS\Weather\Tornados\The first 10 minutes of the Moore EF5 Tornado (5_20_2013).mp4 E:\MASTER VIDEOS\Weather\Tornados\The Historic Tornado Season of 2011, revisited.mp4 E:\MASTER VIDEOS\Weather\Tornados\The Most Violent Outbreak of Tornadoes in History.mp4 E:\MASTER VIDEOS\Weather\Tornados\The Wrath Of God - Tornado Alley.mp4 E:\MASTER VIDEOS\Weather\Tornados\Tornado_1539133738364_3179 0.mp4 E:\MASTER VIDEOS\Weather\Tornados\Tornado Video 2013_ Storm Chasers Catch Outbreak on Tape.mp4 E:\MASTER VIDEOS\Weather\Tornados\TORNADOES of 2013_ Best, Worst, Biggest _ Smallest.mp4 E:\MASTER VIDEOS\Weather\Tornados\Tupelo Mississippi Tornado 2014 Skywarn Spotting Operations.mp4 E:\MASTER VIDEOS\Weather\Tornados\VIDEO INSIDE A TORNADO___ Aurora, NE Tornado, June 17, 2009.mp4 E:\MASTER VIDEOS\Weather\Tornados\Weather Caught on Camera Full Episodes - Hide and Seek Torna.mp4 E:\MASTER VIDEOS\Weather\Tornados\Weather channel storm chaser direct hit from tornado caught .mp4 E:\MASTER VIDEOS\Weather\Tornados\_Mile Wide Tornado_ Oklahoma Disaster,_ Discovery Channel Sp.mp4 E:\MASTER VIDEOS\Weather\Winter Storms 2-08\080206supertwister.flv E:\MASTER VIDEOS\Weather\Winter Storms 2-08\080206snowwrap.flv E:\MASTER VIDEOS\Weather\Winter Storms 2-08\080206worstwx.flv E:\MASTER VIDEOS\Weather\Winter Storms 2-08\080207snowtown.flv E:\MASTER VIDEOS\Weather\Winter Storms 2-08\080208worstwx.flv E:\MASTER VIDEOS\Weather\Winter Storms 2-08\080208nwsnow.flv E:\MASTER VIDEOS\Weather\Winter Storms 2-08\080208tornadowhy.flv E:\MASTER VIDEOS\Weather\Winter Storms 2-08\TOPSTORY.FLV |
#7
|
|||
|
|||
Turning a File Tree to a Text File.....
On Thu, 08 May 2014 16:31:31 -0400, Paul wrote:
I'd add to that first one /On to put the list in alphabetical order: DIR /B /S /On C:\ directry.txt This works great. Here is a snip from my videos, this are just my tornado videos. (below) I did find that doing this on an entire partition can be a bit overwhelming. My main storage partition, which contains a lot of small .jpg files, clipart, text files. PDFs and lots of other small files as well as all my music and some larger files too, created a 4.4meg text file. So I went to the music files and did just them, and got a file about 355K. Much more managable..... -------- clipped from my videos (weather\tornados) --------- snip ... E:\MASTER VIDEOS\Weather\Winter Storms 2-08\TOPSTORY.FLV I can see sorting that out will be fun :-) Some of my file lists are in the 25 to 30MB range. When your text files get big enough, they become a chore to work with. Paul Yeah, I dont want files all that big. My main thing are my music and my videos folders. So I will just do those folders. Or if for example, I intend to download another version of Firefox, I can go to the folder where I have about 15 old versions stored. Or for example I just want to save more tornado videos, I can just make a text file of that folder. Otherwise I often come home with a lot of duplicates...... Although I was once pertty good at making batch files, I have forgotten how to do some things. I was thinking of making a batch file to automatically create folder trees like this. Lets say it's called DT.bat (Dir Tree). I can put in the commands DIR /B /S /On But I'd need a place where it asks me to input a filename to save it to, such as videos.txt I'm not positive that is possible????? But that may be more work than it's worth. It's not that hard to remember to type in DIR /B /S /On filename.txt (and of course be IN the folder I'm wanting to do). |
#8
|
|||
|
|||
Turning a File Tree to a Text File.....
|
#9
|
|||
|
|||
Turning a File Tree to a Text File.....
|
#10
|
|||
|
|||
Turning a File Tree to a Text File.....
On 5/7/14 10:37 PM, wrote:
I'd like to turn the file tree of certain folders on my computer, into a text file. The reason is because when I go to a WIFI, I dont remember what files are on my home computer (desktop). Particularly when I download TV series and music videos from youtube. What I want to do is just create a list of files in a text file, for specific folders. I used to do this on my old Dos computers, using a command such as DIR FILENAME.TXT This works in windows from the command line, but I cant get the long file names. So, I'll end up with filenames like musicf~1.mp3. That's worthless!!!! Anyone know how I can do this in XP or Win98, or even Dos if there is a way to get the long filenames? Then all I have to do is print the list, or just copy the text file to my laptop so I can view it when I'm not at home. (Maybe there is something to download for doing this??????? Hi, casey, You might take a look at this: http://support.microsoft.com/kb/321379 I always add this to the XP computers I work on. -- Ken Mac OS X 10.8.5 Firefox 25.0 Thunderbird 24.3.0 "My brain is like lightning, a quick flash and it's gone!" |
#11
|
|||
|
|||
Turning a File Tree to a Text File.....
Karen's Directory Printer
http://www.karenware.com/powertools/ptdirprn.asp wrote in message ... I'd like to turn the file tree of certain folders on my computer, into a text file. The reason is because when I go to a WIFI, I dont remember what files are on my home computer (desktop). Particularly when I download TV series and music videos from youtube. What I want to do is just create a list of files in a text file, for specific folders. I used to do this on my old Dos computers, using a command such as DIR FILENAME.TXT This works in windows from the command line, but I cant get the long file names. So, I'll end up with filenames like musicf~1.mp3. That's worthless!!!! Anyone know how I can do this in XP or Win98, or even Dos if there is a way to get the long filenames? Then all I have to do is print the list, or just copy the text file to my laptop so I can view it when I'm not at home. (Maybe there is something to download for doing this??????? |
Thread Tools | |
Display Modes | |
|
|