Reply
Old March 22nd, 2003 Top | #1
 
Nick M's Avatar
OSNN Veteran Addict
Joined: July 2002
Posts: 3,961
Reputation: 370
Power: 162

Default Listing Folder Contents

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.
Nick M is offline   Reply With Quote
Old March 22nd, 2003 Top | #2
 
yoyo's Avatar
_________________
Joined: July 2002
Posts: 1,557
Reputation: 160
Power: 136

Default

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.
yoyo is offline   Reply With Quote
Old March 22nd, 2003 Top | #3
 
Nick M's Avatar
OSNN Veteran Addict
Joined: July 2002
Posts: 3,961
Reputation: 370
Power: 162

Default

I'm horrid with the command prompt, how might I navigate to a folder? :huh:
Nick M is offline   Reply With Quote
Old March 22nd, 2003 Top | #4
 
Hipster Doofus's Avatar
Good grief Charlie Brown
Joined: May 2002
Location: Melbourne Australia
Posts: 5,920
Reputation: 560
Power: 187

Default

Use the cd command.

C:\cd windows get you here C:\Windows

Pentium 4 2.6ghz 400mhz @ 3.07ghz 472mhz / Gigabyte GA-8IHXP v2.1 / RAMBUS PC 800 768mb / Sapphire Radeon 9600XT 256mb / 2 x Maxtor 80gb ATA133 DiamondMax, RAID0 :: 1 x Western Digital 7200 40gb / Liteon DVD-RW Dual Layer SOHW-1633S @ 1653S / Liteon 52x24x52 CD-RW LTR-52246S / Zalman CNPS7000A-Cu Fan / Antec TruePower 480w / RD3XP Gladiator Rounded Cables
Hipster Doofus is offline   Reply With Quote
Old March 22nd, 2003 Top | #5
 
Hipster Doofus's Avatar
Good grief Charlie Brown
Joined: May 2002
Location: Melbourne Australia
Posts: 5,920
Reputation: 560
Power: 187

Default

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.

Pentium 4 2.6ghz 400mhz @ 3.07ghz 472mhz / Gigabyte GA-8IHXP v2.1 / RAMBUS PC 800 768mb / Sapphire Radeon 9600XT 256mb / 2 x Maxtor 80gb ATA133 DiamondMax, RAID0 :: 1 x Western Digital 7200 40gb / Liteon DVD-RW Dual Layer SOHW-1633S @ 1653S / Liteon 52x24x52 CD-RW LTR-52246S / Zalman CNPS7000A-Cu Fan / Antec TruePower 480w / RD3XP Gladiator Rounded Cables
Hipster Doofus is offline   Reply With Quote
Old March 22nd, 2003 Top | #6
 
Nick M's Avatar
OSNN Veteran Addict
Joined: July 2002
Posts: 3,961
Reputation: 370
Power: 162

Default

Awesome. Thanks so much yoyo, Hipster, I got it nice and working
Nick M is offline   Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
Switch and Router Contents? Eagle710 Windows Desktop Systems 20 October 19th, 2007 5:52pm
MS word syles and contents pages Abbadon2001 Windows Desktop Systems 0 February 1st, 2005 9:42pm
Print folder contents. arson_nick Windows Desktop Systems 7 May 2nd, 2003 10:57am
Clan Listing syn PC Gaming 17 November 29th, 2002 8:32am
Program to see drive contents RobbieSan Windows Desktop Systems 6 July 25th, 2002 5:44pm