Site Search:
 
Speak Korean Now!
Teach English Abroad and Get Paid to see the World!
Korean Job Discussion Forums Forum Index Korean Job Discussion Forums
"The Internet's Meeting Place for ESL/EFL Teachers from Around the World!"
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

copying just the file name

 
Post new topic   Reply to topic    Korean Job Discussion Forums Forum Index -> Technology Forum
View previous topic :: View next topic  
Author Message
blackjack



Joined: 04 Jan 2006
Location: anyang

PostPosted: Mon Apr 23, 2007 10:59 pm    Post subject: copying just the file name Reply with quote

I have a large number of files (well over 500) in a few folders and i would like to copy the file names into a word or text document, how can you select a number of files and just copy their name? I only need their name.

I have tried google, cnet (found a couple but they didn't work very well).

Going one by one will take me days

Cheers
Back to top
View user's profile Send private message
blackjack



Joined: 04 Jan 2006
Location: anyang

PostPosted: Mon Apr 23, 2007 11:03 pm    Post subject: Reply with quote

I should have said a free way Very Happy
Back to top
View user's profile Send private message
IlIlNine



Joined: 15 Jun 2005
Location: Gunpo, Gyonggi, SoKo

PostPosted: Mon Apr 23, 2007 11:34 pm    Post subject: Reply with quote

You have to know the name (path) of the directory containing the files. What's the structure? Is it one root directory with many sub-directories or are they all random. To do it one directory at a time, try this:

Stert --> Run --> type in CMD (press enter)
cd "\<directoryname>" (press enter)
dir /b > filelist.txt (press enter)

Where <directoryname> is the full path of the directory (for example: cd "\Documents and Settings\My Documents\" )

When your're finished, the file "filelist.txt" will contain the list of all the files in the directory and you can open up that file in word.

I don't know what your level of proficiency is, so if you have any other questions, ask!
Back to top
View user's profile Send private message MSN Messenger
blackjack



Joined: 04 Jan 2006
Location: anyang

PostPosted: Tue Apr 24, 2007 1:59 am    Post subject: Reply with quote

Okay i think i kinda understand however (this sounds stupid) i don't have a foward slash key so i can't do this step
cd "\<directoryname>" i have a cheap english / korean keyboard

also if i can over come the no foward slash problem where would the txt file be saved.
Back to top
View user's profile Send private message
jay-shi



Joined: 09 May 2004
Location: On tour

PostPosted: Tue Apr 24, 2007 5:44 am    Post subject: Reply with quote

blackjack wrote:
Okay i think i kinda understand however (this sounds stupid) i don't have a foward slash key so i can't do this step
cd "\<directoryname>" i have a cheap english / korean keyboard


You can copy the forward slash from the path address in explorer (ctrl-c), or from anywhere for that matter, and then paste it (ctrl-v) into the command window.
Back to top
View user's profile Send private message Visit poster's website
IlIlNine



Joined: 15 Jun 2005
Location: Gunpo, Gyonggi, SoKo

PostPosted: Tue Apr 24, 2007 6:04 pm    Post subject: Reply with quote

Ah! Right ...

That's easy --

The forward slash \ is actually the key that looks like the symbol for Won (Korean currency) Should be above your enter key.
Back to top
View user's profile Send private message MSN Messenger
mnhnhyouh



Joined: 21 Nov 2006
Location: The Middle Kingdom

PostPosted: Tue Apr 24, 2007 6:20 pm    Post subject: Reply with quote

Is there some kind of -R recursive directory search for this, or is it default?

h
Back to top
View user's profile Send private message
IlIlNine



Joined: 15 Jun 2005
Location: Gunpo, Gyonggi, SoKo

PostPosted: Tue Apr 24, 2007 9:03 pm    Post subject: Reply with quote

dir /s is recursive. dir /b outputs the 'bare' listing with just the filenames. dir /s /b > filelist.txt will do what the OP wanted for all subdirectories within the current directory.
Back to top
View user's profile Send private message MSN Messenger
blackjack



Joined: 04 Jan 2006
Location: anyang

PostPosted: Tue Apr 24, 2007 9:51 pm    Post subject: Reply with quote

Okay i tried cutting and pasting the back slash but it comes up as ^v and my won key comes up as #

shift numbers are (from 1 to backspace)
1 2 3 4 5 6 7 8 9 0 - = #
! " � $ % ^ & * ( ) _ + ~

if i am in us language the won does become a backslash but it will not allow me to change when the run window is on

will i have to change my unicode language setting?

and why can't they just make it so you can paste special---paste file names?

thanks for your help

Cheers
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Korean Job Discussion Forums Forum Index -> Technology Forum All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


This page is maintained by the one and only Dave Sperling.
Contact Dave's ESL Cafe
Copyright © 2018 Dave Sperling. All Rights Reserved.

Powered by phpBB © 2001, 2002 phpBB Group

TEFL International Supports Dave's ESL Cafe
TEFL Courses, TESOL Course, English Teaching Jobs - TEFL International