Welcome Guest ( Log In | Register )

Discover the best free computer help!
Learn more about Geeks to Go by taking the tour. Spyware, virus, trojan, fake security or privacy alerts? Read the malware cleaning guide.
      
 
Reply to this topicStart new topic
Re DOS!
wdc202
post Apr 7 2008, 06:23 PM
Post #1


Member
***
Posts: 102
OS: wINDOWS 98se



Is there a DOS command that will list only the directories, -- just the directories, no files?

Thanks.
Go to the top of the page
 
+Quote Post
Tyger
post Apr 7 2008, 08:30 PM
Post #2


Member 2k
*****
Posts: 2,761
OS: win98, xp, winME



Here's a good resource on dos commands.

http://en.wikipedia.org/wiki/List_of_DOS_commands

It looks like this will list the directories only.

DIR /AD
Go to the top of the page
 
+Quote Post
John Hook
post Apr 7 2008, 08:41 PM
Post #3


Member
***
Posts: 165
From: Chicago, IL
OS: XP Pro SP2 / Fedora Core Linux



wdc202,

If you're running the command prompt under Windows XP, to view ONLY directories, type:

DIR /AD

To get a full listing of the DIR command's options, type:

DIR /?

In older versions of DOS, you can view directories only by typing:

DIR *.

Hope this helps.

- John
Go to the top of the page
 
+Quote Post
wdc202
post Apr 8 2008, 05:21 AM
Post #4


Member
***
Posts: 102
OS: wINDOWS 98se



Tyger, John Hook: Perfect. Thanks you so much.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

RSS Time is now: 20th July 2008 - 06:01 PM
Advertisements do not imply our endorsement of that product or service. The forum is run by volunteers who donate their time and expertise. We make every attempt to ensure that the help and advice posted is accurate and will not cause harm to your computer. However, we do not guarantee that they are accurate and they are to be used at your own risk.