[Trainer-talk] Extracting a list of file names

Sharonda Greenlaw sbgreenlaw at gmail.com
Mon Aug 13 21:42:19 UTC 2012


So, let me make sure I'm correct.
I'm on a Windows 7 machine.
I should type in the command line:

cd c:\users\sgreenlaw\my documents
Then hit the Enter key. Right? Is that when I do
dir /b >files.txt

All help is truly appreciated!
Sharonda

On 8/13/12, Jim Bauer <holdsworthfan at eml.cc> wrote:
> "Dir" is what you want in a default Windows installation that lacks
> something like Cygwin or the GNU CoreUtilities. Specifically:
> dir /b >files.txt
>
> You can add `/on' for a list sorted alphabetically by name.
>
> On 8/13/2012 1:09 PM, Gabe Vega wrote:
>> ok great. when you are in the command prompt issue the cd command followed
>> by the full path of the folder you want the file listing of. once in the
>> folder, type ls > files.txt or what ever you want to name the file. with a
>> .txt extention. the ls is the list files in directory command and the >
>> sign tells it to print it to the text file. this is what you want I
>> believe. I just tested it myself. good luck, hope this helps. if you need
>> anything else, you know my office number right? (623) 565-9357. Free help
>> for you any time, you know me like that Sheri.
>>
>> On Aug 13, 2012, at 10:59 AM, Sharonda Greenlaw <sbgreenlaw at gmail.com>
>> wrote:
>>
>>> I think so. That just going to the run and typing cmd.exe. right? If
>>> so, what do I do next?
>>> Thanks!
>>> Sharonda
>>>
>>> On 8/13/12, Gabe Vega <theblindtech at gmail.com> wrote:
>>>> I know how to do this in DOS, or the command promt are you comfortable
>>>> in
>>>> doing this?
>>>>
>>>> On Aug 13, 2012, at 10:47 AM, Sharonda Greenlaw <sbgreenlaw at gmail.com>
>>>> wrote:
>>>>
>>>>> Hi list,
>>>>> Can you tell me how to extract a list of the file names in a folder
>>>>> and put it in a document? For instance, how can I get a list of the
>>>>> names of the files in my documents folder and have them in one file.
>>>>> Thanks for the help.
>>>>>
>>>>> --
>>>>> Sharonda Greenlaw
>>>>> President (Phoenix Chapter)
>>>>> National Federation of the Blind
>>>>> -------------
>>>>> Come, read and take a journey with me at
>>>>> www.WorldOfShariG.blogspot.com
>>>>> or find me here:
>>>>> http:\\shari_greenlaw.livejournal.com
>>>>> Skype: sharonda2004
>>>>> Twitter: shari_rocks
>>>>> Facebook: facebook.com/TheSharondaWhiteGreenlaw
>>>>>
>>>>> _______________________________________________
>>>>> Trainer-talk mailing list
>>>>> Trainer-talk at nfbnet.org
>>>>> http://nfbnet.org/mailman/listinfo/trainer-talk_nfbnet.org
>>>>> To unsubscribe, change your list options or get your account info for
>>>>> Trainer-talk:
>>>>> http://nfbnet.org/mailman/options/trainer-talk_nfbnet.org/theblindtech%40gmail.com
>>>>
>>>>
>>>> _______________________________________________
>>>> Trainer-talk mailing list
>>>> Trainer-talk at nfbnet.org
>>>> http://nfbnet.org/mailman/listinfo/trainer-talk_nfbnet.org
>>>> To unsubscribe, change your list options or get your account info for
>>>> Trainer-talk:
>>>> http://nfbnet.org/mailman/options/trainer-talk_nfbnet.org/sbgreenlaw%40gmail.com
>>>>
>>>
>>>
>>> --
>>> Sharonda Greenlaw
>>> President (Phoenix Chapter)
>>> National Federation of the Blind
>>> -------------
>>> Come, read and take a journey with me at
>>> www.WorldOfShariG.blogspot.com
>>> or find me here:
>>> http:\\shari_greenlaw.livejournal.com
>>> Skype: sharonda2004
>>> Twitter: shari_rocks
>>> Facebook: facebook.com/TheSharondaWhiteGreenlaw
>>>
>>> _______________________________________________
>>> Trainer-talk mailing list
>>> Trainer-talk at nfbnet.org
>>> http://nfbnet.org/mailman/listinfo/trainer-talk_nfbnet.org
>>> To unsubscribe, change your list options or get your account info for
>>> Trainer-talk:
>>> http://nfbnet.org/mailman/options/trainer-talk_nfbnet.org/theblindtech%40gmail.com
>>
>>
>> _______________________________________________
>> Trainer-talk mailing list
>> Trainer-talk at nfbnet.org
>> http://nfbnet.org/mailman/listinfo/trainer-talk_nfbnet.org
>> To unsubscribe, change your list options or get your account info for
>> Trainer-talk:
>> http://nfbnet.org/mailman/options/trainer-talk_nfbnet.org/holdsworthfan%40eml.cc
>>
>
> _______________________________________________
> Trainer-talk mailing list
> Trainer-talk at nfbnet.org
> http://nfbnet.org/mailman/listinfo/trainer-talk_nfbnet.org
> To unsubscribe, change your list options or get your account info for
> Trainer-talk:
> http://nfbnet.org/mailman/options/trainer-talk_nfbnet.org/sbgreenlaw%40gmail.com
>


-- 
Sharonda Greenlaw
President (Phoenix Chapter)
National Federation of the Blind
-------------
Come, read and take a journey with me at
www.WorldOfShariG.blogspot.com
or find me here:
http:\\shari_greenlaw.livejournal.com
Skype: sharonda2004
Twitter: shari_rocks
Facebook: facebook.com/TheSharondaWhiteGreenlaw




More information about the Trainer-Talk mailing list