corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » Help


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author Help
ajscorsa
Member

Registered: 30th Apr 02
Location: Perceton, North Ayrshire
User status: Offline
5th Nov 11 at 15:33   View User's Profile U2U Member Reply With Quote

Wonder if you guys can help.

I need to Make a list of the folders inside a certain folder, there's over 600 so I dont wanna type them out separately if I can help it. Is there any way or a program I can use to list the folders?

Cheers
sc0ott
Member

Registered: 16th Feb 09
User status: Offline
5th Nov 11 at 15:38   View User's Profile U2U Member Reply With Quote

Cant you highlight them all and right click > rename and theyll all be renamed to the same but with a number at the end?
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
5th Nov 11 at 16:10   View Garage View User's Profile U2U Member Reply With Quote

Do you have the list?

Use a text editor like Notepad2 to replace the start of the line with mkdir

If you just need the numerical, something like Excel can be used for similar.

Give me the proper instructions and I'll make it later if you don't sort it.
Ian
Site Administrator

Avatar

Registered: 28th Aug 99
Location: Liverpool
User status: Offline
5th Nov 11 at 16:11   View Garage View User's Profile U2U Member Reply With Quote

http://www.flos-freeware.ch/notepad2.html

Use ^ symbol for the start of the line, turn on regular express searching.
Dom
Member

Registered: 13th Sep 03
User status: Offline
5th Nov 11 at 16:54   View User's Profile U2U Member Reply With Quote

Sounds like you just want a text list of directories in which case in command line do (replace C:\SomeDirectory with the path of directory you want a list of) -
code:
dir C:\SomeDirectory /D/B > C:\list.txt


This will dump a text file list of directories in your C:\ directory.

[Edited on 05-11-2011 by Dom]
ajscorsa
Member

Registered: 30th Apr 02
Location: Perceton, North Ayrshire
User status: Offline
5th Nov 11 at 16:56   View User's Profile U2U Member Reply With Quote

That is exactly what I want mate. Can I copy and paste out of cmd?

I'll have a look at that site when I get home Ian cheers
John
Member

Registered: 30th Jun 03
User status: Offline
5th Nov 11 at 17:24   View User's Profile U2U Member Reply With Quote

Doms command will put it into a text file called list.txt on your c drive.
ajscorsa
Member

Registered: 30th Apr 02
Location: Perceton, North Ayrshire
User status: Offline
5th Nov 11 at 17:26   View User's Profile U2U Member Reply With Quote

Dom I think I love you haha cheers mate worked perfectly

 
New Topic

New Poll

Corsa Sport » Message Board » Off Day » Geek Day » Help 25 database queries in 0.0130320 seconds