DOS is installed. (ms-6.22)
cd enter a certain directory
dir ( /w horizontal display, easier on the eyes /a show hidden files /p pause at each full screen
copy a b (copy the thing at path a to path b)
copy a+b c (combine the thing at path a and the thing at path b and store them at path c, but this is generally only used for plain text files)
del command to delete files, cannot delete directories. (same as erase, del c:\*.*)
deltree a substitute for del, an external command file. Usually used together with the /y parameter (for example: deltree /y c:\*.*)
rd delete an empty directory (empty folder) rd c:\dos
md create an empty directory md c:\dos
ren rename a file ren a b (rename file a to b)
move an external command, used to move files or directories. However, it is generally used to rename directories. (move dos doss, rename directory dos to doss)
format an external command used to format disks. The commonly used parameters are /q quick format, only rebuilds the allocation table /u no backup information at all anymore, generally to prevent the unformat command (format c:/u/q)
type command to display file contents, generally for plain text files. For example: type c:\config.sys
. stands for the current directory
.. stands for the parent directory
For example, if I am on drive E and want to copy the contents in the parent directory of drive D to the current directory of drive D, I can do it like this
e:\>copy d:..\*.* d:.
The \ above is the path separator, * is a wildcard and represents a group of characters, similarly ? represents one character.
xcopy is an external command, an enhanced copy command. It can copy lower-level subdirectories together with everything else.
The commonly used parameters are /e to copy all lower-level subdirectories together /c to copy lower-level subdirectories together, but skip them when an empty directory is encountered.
Under DOS there are three kinds of file names (extensions) that can be executed directly.
.exe generally executable files
.com at most 64K, executes directly, does not perform relocation.
.bat batch files, execute directly, can be edited with text editors such as edit
Direct execution means it is the entry point for some application program or command or work.
Text editing under DOS uses the edit command. This is an external command. It is inseparable from the Qbasic that comes with MS-dos.
qbasic is also an external command. It can run the Qbasic language that comes with MS-dos.
With the above, you can get started. After that comes understanding and configuring DOS memory management and more DOS commands.
......
cd enter a certain directory
dir ( /w horizontal display, easier on the eyes /a show hidden files /p pause at each full screen
copy a b (copy the thing at path a to path b)
copy a+b c (combine the thing at path a and the thing at path b and store them at path c, but this is generally only used for plain text files)
del command to delete files, cannot delete directories. (same as erase, del c:\*.*)
deltree a substitute for del, an external command file. Usually used together with the /y parameter (for example: deltree /y c:\*.*)
rd delete an empty directory (empty folder) rd c:\dos
md create an empty directory md c:\dos
ren rename a file ren a b (rename file a to b)
move an external command, used to move files or directories. However, it is generally used to rename directories. (move dos doss, rename directory dos to doss)
format an external command used to format disks. The commonly used parameters are /q quick format, only rebuilds the allocation table /u no backup information at all anymore, generally to prevent the unformat command (format c:/u/q)
type command to display file contents, generally for plain text files. For example: type c:\config.sys
. stands for the current directory
.. stands for the parent directory
For example, if I am on drive E and want to copy the contents in the parent directory of drive D to the current directory of drive D, I can do it like this
e:\>copy d:..\*.* d:.
The \ above is the path separator, * is a wildcard and represents a group of characters, similarly ? represents one character.
xcopy is an external command, an enhanced copy command. It can copy lower-level subdirectories together with everything else.
The commonly used parameters are /e to copy all lower-level subdirectories together /c to copy lower-level subdirectories together, but skip them when an empty directory is encountered.
Under DOS there are three kinds of file names (extensions) that can be executed directly.
.exe generally executable files
.com at most 64K, executes directly, does not perform relocation.
.bat batch files, execute directly, can be edited with text editors such as edit
Direct execution means it is the entry point for some application program or command or work.
Text editing under DOS uses the edit command. This is an external command. It is inseparable from the Qbasic that comes with MS-dos.
qbasic is also an external command. It can run the Qbasic language that comes with MS-dos.
With the above, you can get started. After that comes understanding and configuring DOS memory management and more DOS commands.
......










