两个命令都创建文件夹我read,MKDIR甚至可以创建子文件夹。
只是同一命令的别名。这是帮助消息:
C:\>md /?
Creates a directory.
MKDIR [drive:]path
MD [drive:]path
和
C:\>mkdir /?
Creates a directory.
MKDIR [drive:]path
MD [drive:]path
If Command Extensions are enabled MKDIR changes as follows:
MKDIR creates any intermediate directories in the path, if needed.
For example, assume \a does not exist then:
mkdir \a\b\c\d
is the same as:
mkdir \a
chdir \a
mkdir b
chdir b
mkdir c
chdir c
mkdir d
which is what you would have to type if extensions were disabled.
除了@ npocmaka的answer之外,我想提供所有这些别名的列表,仅供参考:
cd = chdir
md = mkdir
rd = rmdir
ren = rename
del = erase