Tuesday, July 15, 2008

#3 Directories

In DOS, to see files, one must use the DIR command.Default will be assumed if not specified.

Wild Card Characters are used to find common links between files i.e. same extention or file name

There are subdirectories as well though. They are contained in the parent directory

There are three commands for dealing with directories

  1. MD - to create a new subdirectory
  2. a.RD - remove directory b. DELTREE - remove subdirectroy even if its not empty
  3. CD - move from one directroy to another
  4. TREE - display all subdirectories from any point in the directory (may be disabled)

Folders have to be specified

The CD command is used to move around directory tree.

A fully qualified path should always be mentioned

Format: DIR [d:] [filename [.ext]] [/p] [/w]

No comments: