Networking, Programming and Graphics Tutorials
Home >> OS >> DOS >> DOS commands >>

How to use dir internal command in DOS prompt [1/1]

Type: Terms
How to use dir internal command in DOS prompt
Level: Beginner Networking, Programming and Graphics Tutorials 
How to use dir internal command in DOS prompt
Date: 2007-Apr-26
How to use dir internal command in DOS prompt
Visited: 1396 times
How to use dir internal command in DOS prompt
Rating: How to use dir internal command in DOS prompt
How to use dir internal command in DOS prompt
Author: Ivory Morhuld

This tutorial will show you how to show folder tree under DOS.

To do this go to directory from which level you want to show the folder structure and type:

C:\WINDOWS\system32\config>tree
Folder PATH listing
Volume serial number is XXXX-XXXX
C:.
L---systemprofile
    +---Desktop
    +---Favorites
    +---My Documents
    L---Start Menu
        L---Programs
            +---Accessories
            ¦   +---Accessibility
            ¦   L---Entertainment
            L---Startup

C:\WINDOWS\system32\config>
Next all sub-folders will be listed in tree-style structure.

Also you can execute command not from directory from which you want to see the tree. For doing this you need just to specify the directory from which you want to see the folder structure.

C:\>tree c:\windows\system32\spool
Folder PATH listing
Volume serial number is XXXX-XXXX
C:\WINDOWS\SYSTEM32\SPOOL
+---drivers
¦   +---color
¦   L---w32x86
¦       +---2
¦       L---3
+---PRINTERS
L---prtprocs
    L---w32x86

C:\>
Rate this tutorial:                    
Networking, Programming and Graphics Tutorials - How to use dir internal command in DOS prompt [1/1] - Networking, Programming and Graphics Tutorials

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: command for port number by window command prompt  command for port number in command prompt  what is the command used to copy a folder from ftp in command prompt  ftp command aliases + prompt command  how to use excluse command in command prompt  command prompt command trace net  rdp via command prompt  dir command in dos prompt use of *  dir command prompt  dir+command prompt  command prompt dir  command prompt ftp  dos prompt dir command  how to go to ftp using command prompt  command prompt commands  exclude dir command prompt  "Command Prompt" howto  command prompt tutorial  start RDP command prompt  command prompt from tree