We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide
copying file names .... ?
doom
Posts: 2,828 Forumite
in Techie Stuff
Hi guys .....
This might be an easy one for some of you guys but i'm not sure ....
I have a folder which contains over 600files. Is there any way i can quickly get a list of all the 600+ file names into a txt document like notepad ... ? obviously i can't highlight and copy then paste because i only want the file names - not the files themselves ....
any help would be appreciated ....
thanks :beer:
This might be an easy one for some of you guys but i'm not sure ....
I have a folder which contains over 600files. Is there any way i can quickly get a list of all the 600+ file names into a txt document like notepad ... ? obviously i can't highlight and copy then paste because i only want the file names - not the files themselves ....
any help would be appreciated ....
thanks :beer:
CARPE DIEM
aut viam inveniam aut faciam
Be sober, be vigilant; because your adversary the devil, as a roaring lion, walketh about, seeking whom he may devour
0
Comments
-
Using example directories:
Command prompt - start menu > RUN > CMD
CD "J:\Movies"
DIR /S /B >ouputfile.txt (the /s flag tells it to list files in all subdirectories, /b tells it to list just the filenames without other data)
copy outputfile.txt outputfile.xls
You now have two files, one is text one is an excel spread sheet. You should now be able to manipulate the data in Excel to get what your after.“I may not agree with you, but I will defend to the death your right to make an a** of yourself.”
<><><><><><><><><<><><><><><><><><><><><><> Don't forget to like and subscribe \/ \/ \/0 -
Strider590 wrote: »Using example directories:
Command prompt - start menu > RUN > CMD
CD "J:\Movies"
DIR /S /B >ouputfile.txt (the /s flag tells it to list files in all subdirectories, /b tells it to list just the filenames without other data)
copy outputfile.txt outputfile.xls
You now have two files, one is text one is an excel spread sheet. You should now be able to manipulate the data in Excel to get what your after.
wow - thanks for that, i don't wanna appear dumb here, but i assume i replace the j:\ movies with the location of what i want listed .. ? i did that but cmd doesn't like it, keeps saying incorrect ... ?CARPE DIEMaut viam inveniam aut faciamBe sober, be vigilant; because your adversary the devil, as a roaring lion, walketh about, seeking whom he may devour0 -
Sorry you need
CD /d "<directory including drive letter>"
The native CMD window will be in the "C:\Documents and Settings\username" directory.
So if I want to go into J:\Movies
I type CD /d "J:\Movies"
The directory will now read "J:\Movies" meaning your now operating in that directory“I may not agree with you, but I will defend to the death your right to make an a** of yourself.”
<><><><><><><><><<><><><><><><><><><><><><> Don't forget to like and subscribe \/ \/ \/0 -
There's a free programme called RJH extensions that will do this for you. http://www.pcadvisor.co.uk/downloads/index.cfm?categoryID=1502&itemID=214600
-
There's a free programme called RJH extensions that will do this for you. http://www.pcadvisor.co.uk/downloads/index.cfm?categoryID=1502&itemID=21460
Yeah, there are always software solutions for everything.... I used to drive the IT manager mad because I could do things in simple DOS that he'd forked out ££££££'s for in additional software.“I may not agree with you, but I will defend to the death your right to make an a** of yourself.”
<><><><><><><><><<><><><><><><><><><><><><> Don't forget to like and subscribe \/ \/ \/0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 353.5K Banking & Borrowing
- 254.2K Reduce Debt & Boost Income
- 455.1K Spending & Discounts
- 246.6K Work, Benefits & Business
- 603K Mortgages, Homes & Bills
- 178.1K Life & Family
- 260.6K Travel & Transport
- 1.5M Hobbies & Leisure
- 16K Discuss & Feedback
- 37.7K Read-Only Boards