BobRedthorp Posted March 27, 2004 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?
Gryph Posted March 27, 2004 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
BobRedthorp Posted March 27, 2004 Author 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
Gryph Posted March 27, 2004 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!
Gryph Posted March 28, 2004 Posted March 28, 2004 Nice tip Mr K....thanks Hehe, no problem dude. I'm down with all the ghetto tricks and methods.
Magus Posted March 29, 2004 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.
nezumi Posted March 30, 2004 Posted March 30, 2004 ls > dir.txt thenemacs dir.txt orvim dir.txt you don't even have to "su root" !
ForceX Posted March 30, 2004 Posted March 30, 2004 Thanks for the tips guys...I'm sure this will come in handy
nicknicknickandnick Posted March 31, 2004 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?
Agozer Posted March 31, 2004 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
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