- The * character represents an arbitrary group of characters from the position of *.
- Character ? Represents an arbitrary character at the position of?.
For example: * .PAS is a group of files with the extension PAS , and the main name is optional. DATA? .DOC is the name of the file with an arbitrary 5th character, it is a group of files with names such as: DATA1.DOC, DATA2.DOC, DATAT, .
- MS-DOS and Windows reserved the following names for some peripheral devices, do not use these names for the file name.
Reserved name CON device Keyboard, monitor (Console) LPT1 (PRN) Parallel Port 1 (Parallel printer 1) LPT2, LPT3
- A folder is a formatted partition on disk to store systematic files. Users can divide a disk into separate areas, each of which can be a storage of certain software or individual files of each user . Each area is called a directory .
- Each disk on the machine corresponds to a directory and is called the root directory (Root Directory) . The root directory may contain files or subdirectories (Sub Directory). Each subdirectory may contain other files or subfolders . This structure is called a directory tree.
- The name of the directory (Directory Name) is set according to the naming rules of the file, usually the directory name does not place the extension.
- The root directory is the highest directory organized on the disk and is created during formatting the disk using the Format command, so we cannot delete this directory.
- Current directory (Working Directory) is the directory in which we are currently selecting or working.
- Empty Directory (Empty Directory) is a directory in which does not contain files or subfolders.
For example: According to the structure diagram of the directory tree above, we see:
- C root folder : contains folders BC4, BP, DYNEDWIN, .
- In sub-level directory 1 WINDOWS contains sub-folders ALL USERS, APPLICATION DATA, .
- In level 2 subdirectory COMMAND contains sub-level 3 sub-directory EBD and files ANSI.SYS, ATTRIB.EXE,…