BobRedthorp Posted March 27, 2004 Share Posted March 27, 2004 Can anyone tell me how I can list a directorys content to a text file, I have a directory on my Harddrive with thousands of ROMs, rather than type the names 1 by 1 on a text doc, I need an easy way to have them listed so I can show people what is available, I think I explained it okay, Any suggestions? Link to comment Share on other sites More sharing options...
Gryph Posted March 27, 2004 Share Posted March 27, 2004 Well this way is kind of ghetto and probably what you're not looking for, but here goes. -Open command prompt and go to your rom directory- do DIR- Then right click and select all- Then do CTRL-C - And then paste into your favorite text editor Link to comment Share on other sites More sharing options...
BobRedthorp Posted March 27, 2004 Author Share Posted March 27, 2004 cool, that did it, I used dir/w I would have done this but I didnt know you could copy from the command prompt window, Cheers for taht Link to comment Share on other sites More sharing options...
Gryph Posted March 27, 2004 Share Posted March 27, 2004 cool, that did it, I used dir/w I would have done this but I didnt know you could copy from the command prompt window, Cheers for taht As long as it works! Link to comment Share on other sites More sharing options...
ForceX Posted March 28, 2004 Share Posted March 28, 2004 Nice tip Mr K....thanks Link to comment Share on other sites More sharing options...
Gryph Posted March 28, 2004 Share Posted March 28, 2004 Nice tip Mr K....thanks Hehe, no problem dude. I'm down with all the ghetto tricks and methods. Link to comment Share on other sites More sharing options...
Magus Posted March 29, 2004 Share Posted March 29, 2004 There's an easier way. in the command prompt, instead of copying and pasting the results. just pipe the output to a text file. ex. dir > rom_listing.txt u now have a full listing in a txt file. Link to comment Share on other sites More sharing options...
nezumi Posted March 30, 2004 Share Posted March 30, 2004 ls > dir.txt thenemacs dir.txt orvim dir.txt you don't even have to "su root" ! Link to comment Share on other sites More sharing options...
ForceX Posted March 30, 2004 Share Posted March 30, 2004 Thanks for the tips guys...I'm sure this will come in handy Link to comment Share on other sites More sharing options...
nicknicknickandnick Posted March 31, 2004 Share Posted March 31, 2004 Is there a way to have the text file only get the long file names and not all that other information that you get with the dir command?How about long file names with file size? Link to comment Share on other sites More sharing options...
Agozer Posted March 31, 2004 Share Posted March 31, 2004 (edited) Is there a way to have the text file only get the long file names and not all that other information that you get with the dir command?How about long file names with file size?Copy-paste the entire command prompt window. Works for me anyways. Edited March 31, 2004 by Agozer Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now