User Name
Password
AppleNova Forums » Genius Bar »

a silly windows question


Register Members List Calendar Search FAQ Posting Guidelines
a silly windows question
Thread Tools
bruce
Member
 
Join Date: Mar 2005
Location: south carolina
 
2008-02-20, 08:38

A friend who uses a pc asked if, on a mac, I could conveniently list
the contents of a folder. I opened a folder and copied and pasted the
titles of the files that it contained to a blank text file. He said the same
trick does not work in windows. My question: in windows, is there some easy way of getting
a list of the names of the files contained in a folder?
  quote
Taskiss
Veteran Member
 
Join Date: Jul 2007
Location: St. Louis, MO
 
2008-02-20, 08:59

Dir
  quote
bruce
Member
 
Join Date: Mar 2005
Location: south carolina
 
2008-02-20, 09:06

I want to put the list of file names into another file. And I
do not want to open a dos window to do it.
  quote
chucker
 
Join Date: May 2004
Location: near Bremen, Germany
Send a message via ICQ to chucker Send a message via AIM to chucker Send a message via MSN to chucker Send a message via Yahoo to chucker Send a message via Skype™ to chucker 
2008-02-20, 09:11

Code:
dir
Code:
dir /w
And so on.

You probably want to have a look at
Code:
dir /?
to learn the various options.

No GUI way in Explorer itself that I know of.
  quote
chucker
 
Join Date: May 2004
Location: near Bremen, Germany
Send a message via ICQ to chucker Send a message via AIM to chucker Send a message via MSN to chucker Send a message via Yahoo to chucker Send a message via Skype™ to chucker 
2008-02-20, 09:23

Quote:
Originally Posted by bruce View Post
I want to put the list of file names into another file. And I
do not want to open a dos window to do it.
Without third-party utilities? Not doable.
  quote
Taskiss
Veteran Member
 
Join Date: Jul 2007
Location: St. Louis, MO
 
2008-02-20, 09:49

create a file with this line:

dir > outputfile.txt

name it whatever.bat

create an icon for it, etc.
  quote
Koodari
Veteran Member
 
Join Date: Jun 2004
 
2008-02-20, 09:50

For a very quick and dirty solution, how about this: make a batch file that deletes itself, lists the working directory and pipes the results into a text file on the desktop.

Then you just have the batch file somewhere accessible, such as on the desktop. Whenever you need to do this thing, you copy the batch file to the directory you want to list and run it.
  quote
Posting Rules Navigation
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Post Reply

Forum Jump
Thread Tools
Similar Threads
Thread Thread Starter Forum Replies Last Post
MacBook Pro as windows machine? IBeforeE Apple Products 13 2006-11-11 14:40
Direct X now for Macintosh bazzler Third-Party Products 27 2006-10-29 14:29
Boot Camp: WIndows Activation Question Uyek Apple Products 18 2006-09-08 15:11
Windows question: moving programs to new drive torifile Genius Bar 7 2006-09-06 01:11
Ye old Apple versus Windows debate...again Milkman General Discussion 8 2004-12-20 17:31


« Previous Thread | Next Thread »

All times are GMT -5. The time now is 12:19.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2024, AppleNova