Some knowledge of this command-line interface is still valuable for running older (MS-DOS) programs, and for writing 'scripts' ... sequences of operating system commands (also called batch or .BAT files).
The files are organized in a tree-structured directory. An arbitrary file is specified by a path,
device:\directory\directory\...\filename.extThe special file name '.' refers to the current directory; the file name '..' refers to the parent directory.
Long Windows file names, and file names containing blanks or certain special characters, are mapped into MS-DOS file names of the form cccccc~1, cccccc~2, etc. They can also be referenced using the full file name inside of double-quote marks (").
A window will open, with a prompt displaying the current 'working directory'.
To change directories, type CD path .
To run a program in the current directory, type 'program-name arguments'. DOS will look for a file of the form program-name.EXE, program-name.COM, or program-name.BAT and execute it.
To run a program which resides in a different directory, you can enter the full path of the program. Alternatively, you can use the PATH command to list the directories in which DOS should look for the program to execute. The PATH command has the form
PATH path1; path2; ...DOS will search each specified directory in turn for the program to be executed.