How to list all files on C drive with DIR?

P

P Redman

This is my batch file for listing files.

Not perfect and not sure if it is any different to yours, but for me it's OK. You may need to change location of desktop depending on version of windows used.

Regards
Philip

: This file will list all files on c: drive
: into list.txt file on the desktop

cd c:\users\user\desktop

dir c:\ /ogn /s > list.txt

exit


EggHeadCafe - .NET Developer Portal of Choice
http://www.eggheadcafe.com
 
G

Gordon

This is my batch file for listing files.

Not perfect and not sure if it is any different to yours, but for me it's
OK. You may need to change location of desktop depending on version of
windows used.

Regards
Philip

: This file will list all files on c: drive
: into list.txt file on the desktop

cd c:\users\user\desktop

dir c:\ /ogn /s > list.txt

exit


EggHeadCafe - .NET Developer Portal of Choice
http://www.eggheadcafe.com


Posted and mailed

To whom are you talking and about what?
The "forum" that you are posting in leaches off the Microsoft News servers
in order to make it look far busier than it really is. Everyone who uses the
MS News servers sees your post on it's own - we have NO IDEA what you are
talking about and to whom you are talking.

This is not your fault - the fault lies with the forum owners who do not
explain to members that their posts end up on global Usenet newsgroups.
If you MUST continue to post in this "forum" then please at least quote the
post you are replying to, and do NOT change the subject line.

You would be far better off however, using a news reader and subscribing to
these news groups direct.

Setting up Outlook Express/Windows Mail to access Microsoft newsgroups
http://www.michaelstevenstech.com/outlookexpressnewreader.htm

Accessing the MS newsgroups in Outlook Express/Windows Mail Newsreader
http://www.microsoft.com/windowsxp/expertzone/newsgroupsetup.mspx


Thank you
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top