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
|
|||
|
|||
Saving LONG Filenames
In the process of rebuilding my data on a new HDD, I want to setup a
similar folder setup like I had on my old drive, which failed. I have a copy of the old drive, which I saved using a bootable linux stick. What I want to do is save the entire file tree as a text file. I went to that backup and then to the Dos prompt (cmmmand line), and typed TREE filetree.txt I was able to save the entire file tree, as text, but all the long filenames of the folders were truncated as FOLDER~1. Is there any way to save the LONG folder names? I'm doing this on Win98, but I would think XP would work the same in this manner. |
Ads |
#3
|
|||
|
|||
Saving LONG Filenames
Il giorno Wed 06 Dec 2017 03:27:04a, ** ha inviato su
microsoft.public.windowsxp.general il messaggio . Vediamo cosa ha scritto: I went to that backup and then to the Dos prompt (cmmmand line), and typed TREE filetree.txt I was able to save the entire file tree, as text, but all the long filenames of the folders were truncated as FOLDER~1. Is there any way to save the LONG folder names? it works on my (old) xp machine, can't understand/reproduce your issue | \---Video +---Start Menu | \---Programs | +---Abbona DAO | +---Accessories | | +---Accessibility | | +---Entertainment | | \---System Tools | +---Core FTP | +---ImpGM | +---Importazione Fatture | +---No-IP DUC | +---OAG Travel Planner | \---Startup +---TOSHIBA | \---eST4520C | +---PCL6 | \---PS3 +---VirtualBox VMs | \---ItaFaxMail | \---Logs \---WINDOWS \---system -- /-\ /\/\ /\/\ /-\ /\/\ /\/\ /-\ T /-\ -=- -=- -=- -=- -=- -=- -=- -=- - -=- http://www.bb2002.it ............ [ al lavoro ] ........... |
#4
|
|||
|
|||
Saving LONG Filenames
Ammammata
it works on my (old) xp machine, can't understand/reproduce your issue The OP is (most likely) running plain DOS, not a console window runing under Windows Although the OP thinks it works the same inder XP, I'm not aware that it can be booted into DOS (as you can with W98) Regards, Rudy Wieser |
#5
|
|||
|
|||
Saving LONG Filenames
Il giorno Wed 06 Dec 2017 03:27:04a, ** ha inviato su
microsoft.public.windowsxp.general il messaggio . Vediamo cosa ha scritto: What I want to do is save the entire file tree as a text file. lol, on my disk it's a text file 45,500 lines long -- /-\ /\/\ /\/\ /-\ /\/\ /\/\ /-\ T /-\ -=- -=- -=- -=- -=- -=- -=- -=- - -=- http://www.bb2002.it ............ [ al lavoro ] ........... |
#6
|
|||
|
|||
Saving LONG Filenames
In message 12,
Ammammata writes: Il giorno Wed 06 Dec 2017 03:27:04a, ** ha inviato su microsoft.public.windowsxp.general il messaggio . Vediamo cosa ha scritto: What I want to do is save the entire file tree as a text file. lol, on my disk it's a text file 45,500 lines long Yes, I was going to suggest DIR as well. But I think he wants only the tree, not the files. (Or do you have 20k-odd directories?) -- J. P. Gilliver. UMRA: 1960/1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf The best way to achieve immortality is by not dying. |
#7
|
|||
|
|||
Saving LONG Filenames
On Wed, 6 Dec 2017 17:35:46 +0000, "J. P. Gilliver (John)"
wrote: In message 12, Ammammata writes: Il giorno Wed 06 Dec 2017 03:27:04a, ** ha inviato su microsoft.public.windowsxp.general il messaggio m. Vediamo cosa ha scritto: What I want to do is save the entire file tree as a text file. lol, on my disk it's a text file 45,500 lines long Yes, I was going to suggest DIR as well. But I think he wants only the tree, not the files. (Or do you have 20k-odd directories?) I have a free program that I downloaded, and it runs in Win98 and XP. It's called "Karen's Directory Printer". It does a pretty good job of turning filenames into a text file. But it makes a long file that needs a lot of scrolling to read. I just wanted the FOLDER TREE, so I can create all the folders that I need. This program allows more or less detail. I can accept or decline things like file date, dile size, etc, but it wont just create a folder only tree txt file. |
#8
|
|||
|
|||
Saving LONG Filenames
On Wed, 6 Dec 2017 10:31:49 +0000 (UTC), Ammammata
wrote: Il giorno Wed 06 Dec 2017 03:27:04a, ** ha inviato su microsoft.public.windowsxp.general il messaggio . Vediamo cosa ha scritto: I went to that backup and then to the Dos prompt (cmmmand line), and typed TREE filetree.txt I was able to save the entire file tree, as text, but all the long filenames of the folders were truncated as FOLDER~1. Is there any way to save the LONG folder names? it works on my (old) xp machine, can't understand/reproduce your issue | \---Video +---Start Menu | \---Programs | +---Abbona DAO | +---Accessories | | +---Accessibility | | +---Entertainment | | \---System Tools | +---Core FTP | +---ImpGM | +---Importazione Fatture | +---No-IP DUC | +---OAG Travel Planner | \---Startup +---TOSHIBA | \---eST4520C | +---PCL6 | \---PS3 +---VirtualBox VMs | \---ItaFaxMail | \---Logs \---WINDOWS \---system I'm doing it from a dos window in Win98se. If XP could recognize this defective drive, I'd plug the drive into a USB port on an XP computer (using an adaptor). But XP only says to format the drive. I can only read the drive in Win98 and a Linux boot. I'm not a linux user, I can only boot it and use it to copy or delete files, little more. So I am using the Dos from Win98, which is "native dos" (I guess). One comment I have to make, is that MS puts so much bloat and crap in Windos, yet it has never had adaquate utilities to do something as simple as making a readable text file of the files/folders on the HDD. I did think of installing one of those old alternative desktop programs that were common for Windows 9x, and trying that, but by the time I download them and test them, I may as well just go to the old pencil and paper method and write the folders on paper. Sometimes low tech is the quickets and easiest method. I should also mention that the folder tree I created using Win98, made a text file which looks great using DOS EDIT. It shows all the lines that are the levels and such. However, opening it in Windows Notepad, or Wordpad turns all the lines into upper characters, and that makes it pretty hard to read, if not impossible to use. Sample below: ³ ÃÄÄÄWORLD'~1 ³ ÃÄÄÄHAMRAD~1 ³ ÃÄÄÄTRANSM~1 ³ ³ ÃÄÄÄTHEAA8~1 ³ ³ ÀÄÄÄBROADC~1 ³ ÃÄÄÄANTIQU~1 ³ ³ ÃÄÄÄANTIQU~1 ³ ³ ³ ÃÄÄÄANTIQU~1 ³ ³ ³ ÃÄÄÄANTIQU~2 ³ ³ ³ ÀÄÄÄANTIQU~3 ³ ³ ÀÄÄÄBATTER~1 ³ ³ ÃÄÄÄPOWERI~1 ³ ³ ÀÄÄÄ_B_BAT~1 ³ ÃÄÄÄSELENI~1 ³ ÃÄÄÄCFLBUL~1 ³ ÃÄÄÄALTECL~1 ³ ³ ÃÄÄÄ9444AP~1 ³ ³ ³ ÀÄÄÄZIPMAN~1 ³ ³ ÀÄÄÄ1692AM~1 ³ ³ ÃÄÄÄMINE-E~1 ³ ³ ÃÄÄÄOTHER ³ ³ ÀÄÄÄFIXEDS~1 |
#9
|
|||
|
|||
Saving LONG Filenames
On Wed, 6 Dec 2017 13:45:45 +0100, "R.Wieser"
wrote: Ammammata it works on my (old) xp machine, can't understand/reproduce your issue The OP is (most likely) running plain DOS, not a console window runing under Windows Although the OP thinks it works the same inder XP, I'm not aware that it can be booted into DOS (as you can with W98) Regards, Rudy Wieser i was running it in a DOS WINDOW in Win98. I could also boot directly to DOS, But it's using the DOS that comes with Win98. Actually, it's been many years, but I dont think the TREE command came with Win98. I think it was eliminated in 98. But I sort of recall copying that and a few other missing Dos commands from a prior version of Dos to the Dos folder in Win98. The commands work fine, it's just that Win98 did not come with them. It's been 18 or 19 years since I installed Win98, so it's hard to remember all the details, but it seems to me that TREE was not included. |
#10
|
|||
|
|||
Saving LONG Filenames
John, OP,
Yes, I was going to suggest DIR as well. But I think he wants only the tree, not the files. You mean like you get with "DIR /ad /s /b" ? If it would be me I would suggest the OP to use exactly that, instead of that graphical tree representation. Being able to just copy-and-paste a certain line from such a file into the filebrowser to get at a certain directory (read: not having to traverse the graphical tree while doing the same in the filebrowser, which is prone to mistakes) is a big pre for me. Regards, Rudy Wieser |
#11
|
|||
|
|||
Saving LONG Filenames
Il giorno Wed 06 Dec 2017 06:35:46p, *J. P. Gilliver (John)* ha inviato su
microsoft.public.windowsxp.general il messaggio . Vediamo cosa ha scritto: (Or do you have 20k-odd directories?) 45k directories, more than half (24k) only in winsxs -- /-\ /\/\ /\/\ /-\ /\/\ /\/\ /-\ T /-\ -=- -=- -=- -=- -=- -=- -=- -=- - -=- http://www.bb2002.it ............ [ al lavoro ] ........... |
#12
|
|||
|
|||
Saving LONG Filenames
James,
However, opening it in Windows Notepad, or Wordpad turns all the lines into upper characters, and that makes it pretty hard to read, if not impossible to use. Thats not Notepads or Wordpads doing, thats just the default character used by Windows. I think you can change it to use the DOS style characterset, but that would be system-wide (in other words: don't do it). What you can do however is to, in Wordpad, select one such character, press ctrl-H (replace a string), and enter, in the textbox below it, the replacement char you want instead. For instance, change that "Ã" to "+", the "Ä" to "-". the "³" to "|", and the "À" to "\". I think thats about all. Regards, Rudy Wieser |
#13
|
|||
|
|||
Saving LONG Filenames
In message , R.Wieser
writes: John, OP, Yes, I was going to suggest DIR as well. But I think he wants only the tree, not the files. You mean like you get with "DIR /ad /s /b" ? Excellent! Thanks for that. If it would be me I would suggest the OP to use exactly that, instead of that graphical tree representation. And people with this sort of mindset (which includes me) would probably also like RED (remove empty directories) from http://www.jonasjohn.de/red.htm - like registry cleaners, there are potential problems, and no actual advantages, but those of us who like to be able to see the wood for the trees find it appealing. (Unfortunately it says XP on only, but it might still be useful to the OP when he has the drive on his XP machine.) Being able to just copy-and-paste a certain line from such a file into the filebrowser to get at a certain directory (read: not having to traverse the graphical tree while doing the same in the filebrowser, which is prone to mistakes) is a big pre for me. Good point. Regards, Rudy Wieser 2 -- J. P. Gilliver. UMRA: 1960/1985 MB++G()AL-IS-Ch++(p)Ar@T+H+Sh0!:`)DNAf No sense being pessimistic. It wouldn't work anyway. - Penny Mayes, UMRA, 2014-August |
#14
|
|||
|
|||
Saving LONG Filenames
On Thu, 7 Dec 2017 08:58:54 +0100, "R.Wieser"
wrote: John, OP, Yes, I was going to suggest DIR as well. But I think he wants only the tree, not the files. You mean like you get with "DIR /ad /s /b" ? If it would be me I would suggest the OP to use exactly that, instead of that graphical tree representation. Being able to just copy-and-paste a certain line from such a file into the filebrowser to get at a certain directory (read: not having to traverse the graphical tree while doing the same in the filebrowser, which is prone to mistakes) is a big pre for me. Regards, Rudy Wieser Karen's Directory Printer is free, and it solved all these problems. It's a GUI, and it runs in Win98 or XP. Nice piece of software and eliminates all ths dos crap. |
#15
|
|||
|
|||
Saving LONG Filenames
|
|
Thread Tools | |
Display Modes | |
|
|