text
stringlengths
0
4.23k
Parameters
Parameter
Description
<drive>:
Specifies the drive on which you want to create the new directory.
<path>
Specifies the name and location of the new directory. The maximum length of any single path is determined by the file system. This is a required parameter.
/?
Displays help at the command prompt.
<drive>
<path>
Examples
To create a directory named Directory1 within the current directory, type:
mkdir Directory1
To create the directory tree Taxes\Property\Current within the root directory, with command extensions enabled, type:
mkdir \Taxes\Property\Current
To create the directory tree Taxes\Property\Current within the root directory as in the previous example, but with command extensions disabled, type the following sequence of commands:
mkdir \Taxes
mkdir \Taxes\Property
mkdir \Taxes\Property\Current
mklink
Creates a directory or file symbolic or hard link.
Syntax
mklink [[/d] | [/h] | [/j]] <link> <target>
Parameters
Parameter
Description
/d
Creates a directory symbolic link. By default, this command creates a file symbolic link.
/h
Creates a hard link instead of a symbolic link.
/j
Creates a Directory Junction.
<link>
Specifies the name of the symbolic link being created.
<target>
Specifies the path (relative or absolute) that the new symbolic link refers to.
/?
Displays help at the command prompt.
<link>
<target>
Examples
To create and remove a symbolic link named MyFolder from the root directory to the \Users\User1\Documents directory, and a hard link named Myfile.file to the example.file file located within the directory, type:
mklink /d \MyFolder \Users\User1\Documents
mklink /h \MyFile.file \User1\Documents\example.file
rd \MyFolder
del \MyFile.file
mmc
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Using mmc command-line options, you can open a specific mmc console, open mmc in author mode, or specify that the 32-bit or 64-bit version of mmc is opened.
Syntax
mmc <path>\<filename>.msc [/a] [/64] [/32]
Parameters
Parameter
Description
<path>\<filename>.msc
starts mmc and opens a saved console. You need to specify the complete path and file name for the saved console file. If you do not specify a console file, mmc opens a new console.
/a