U.S. CitiesCity-Data Forum Index
Go Back   City-Data Forum > General Forums > Science and Technology > Computers
 [Register]
Please register to participate in our discussions with 2 million other members - it's free and quick! Some forums can only be seen by registered members. After you create your account, you'll be able to customize options and access all our 15,000 new posts/day with fewer ads.
View detailed profile (Advanced) or search
site with Google Custom Search

Search Forums  (Advanced)
 
Old 08-12-2016, 03:27 PM
 
Location: West Los Angeles
10,457 posts, read 10,226,237 times
Reputation: 10394

Advertisements

In the days of DOS, I'd do a "dir>files.txt" so I could make a list in a text file of all the files in a directory, if need be. However, the problem with doing that today is that DOS doesn't really support long file names. Is there a way to get a listing of all files in a directory that preserves their long file names?
Reply With Quote Quick reply to this message

 
Old 08-12-2016, 03:42 PM
 
Location: McAllen, TX
3,989 posts, read 2,627,494 times
Reputation: 4769
This is what I use. Many options and you can save to a file.

Download Karen's Directory Printer - MajorGeeks
Reply With Quote Quick reply to this message
 
Old 08-12-2016, 07:30 PM
 
Location: Southern California
4,448 posts, read 5,454,463 times
Reputation: 2209
Quote:
Originally Posted by Exitus Acta Probat View Post
In the days of DOS, I'd do a "dir>files.txt" so I could make a list in a text file of all the files in a directory, if need be. However, the problem with doing that today is that DOS doesn't really support long file names. Is there a way to get a listing of all files in a directory that preserves their long file names?
It should, what does your files.txt look like? Are you getting into "DOS" by typing "command" on windows 98. Try "CMD" from the start menu of current OSs
Reply With Quote Quick reply to this message
 
Old 08-12-2016, 09:28 PM
 
Location: ohio
2,864 posts, read 1,413,511 times
Reputation: 3252
This works for me, Windows 8.1, first google hit from searching copy file names...


Copy Entire List of Files. Hold the "Shift" key, right-click the folder containing a list of files and select "Open Command Window Here." Type "dir /b > filenames.txt" (without quotation marks) in the Command Prompt window. Press "Enter."
How to Copy File Names in Windows Explorer | Chron.com

smallbusiness.chron.com/copy-file-names-windows-explorer-53696.html
Reply With Quote Quick reply to this message
 
Old 08-13-2016, 01:10 AM
 
26,158 posts, read 15,755,236 times
Reputation: 17235
Quote:
Originally Posted by Exitus Acta Probat
In the days of DOS, I'd do a "dir>files.txt" so I could make a list in a text file of all the files in a directory, if need be. However, the problem with doing that today is that DOS doesn't really support long file names. Is there a way to get a listing of all files in a directory that preserves their long file names?
Im on 98se and in DOS it shows me the WHOLE FILENAME at the end,take a look....

I created a 30+ character filename and then looked @ that directory in DOS (At the end of that entry you can see the whole filename listed (Last one))
Attached Thumbnails
How Do I Catalog All the Files in a Directory?-capture.png  
Reply With Quote Quick reply to this message
 
Old 08-13-2016, 03:03 PM
 
Location: West Los Angeles
10,457 posts, read 10,226,237 times
Reputation: 10394
Quote:
Originally Posted by Dude111 View Post
Im on 98se and in DOS it shows me the WHOLE FILENAME at the end,take a look....

I created a 30+ character filename and then looked @ that directory in DOS (At the end of that entry you can see the whole filename listed (Last one))
Oh...I did not know that would happen. I believe it was Win 95 where I first realized the issue, and did not realize they addressed it. Thanks.
Reply With Quote Quick reply to this message
 
Old 08-13-2016, 04:27 PM
 
26,158 posts, read 15,755,236 times
Reputation: 17235
It should work for you the same way on newer OS's although Im not sure...... (I dont wanna give ya false hope)

Good luck!
Reply With Quote Quick reply to this message
Please register to post and access all features of our very popular forum. It is free and quick. Over $68,000 in prizes has already been given out to active posters on our forum. Additional giveaways are planned.

Detailed information about all U.S. cities, counties, and zip codes on our site: City-data.com.


Reply
Please update this thread with any new information or opinions. This open thread is still read by thousands of people, so we encourage all additional points of view.

Quick Reply
Message:

Over $104,000 in prizes was already given out to active posters on our forum and additional giveaways are planned!

Go Back   City-Data Forum > General Forums > Science and Technology > Computers
Similar Threads
Follow City-Data.com founder on our Forum or

All times are GMT -6. The time now is 05:15 AM.

© 2005-2019, Advameg, Inc. · Please obey Forum Rules · Terms of Use and Privacy Policy · Bug Bounty

City-Data.com - Archive 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35 - Top