Listing Folder Contents

Nick M

OSNN Veteran Addict
Joined
29 Jul 2002
Messages
3,961
I've got a few folders, each holding about 15,000 files each. How might I generate a list of the folder's contents?



- Thanks,

Nick.
 
You can use the DIR command. Open a command window, navigate to your folder and type DIR >index.txt (or any name you like) and press enter. This will generate a file index.txt inside the folder. Type DIR /? for other switches like sort order or files to show or exclude.
 
I'm horrid with the command prompt, how might I navigate to a folder? :huh:
 
Of course this will make it a lot easier>

Opening a Command Prompt to a Particular Directory From Explorer

If you want to open a command prompt to a directory that is selected in the Explorer:
1. Start Regedit
2. Go to HKEY_CLASSES_ROOT \ Directory \ shell
3. Create a new key called Command
4. Give it the value of the name you want to appear in the Explorer. Something like Open DOS Box
5. Under this create a new key called command
6. Give it a value of " cmd.exe cd %1 " (no quotes)
7. Now when you are in the Explorer, right click on a folder, select Open DOS Box, and a command prompt will open to the selected directory.
 
Awesome. Thanks so much yoyo, Hipster, I got it nice and working :)
 

Members online

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back