Skip to content

CONNECT command

FireBlade edited this page May 9, 2026 · 1 revision

Connects to a UNC network path.

Usage

connect <UNC> [options]

Arguments

  • <UNC>
    The UNC path to connect to.

Options

  • /? (/h, -h, --help)
    Show help and usage information.

Aliases

netconnect, nc, con, networkconnect

Remarks

The CONNECT command initiates a connection to the network share at the UNC path specified in the <UNC> argument.

To navigate to a path within the network share after using the CONNECT command, use the CD command. To disconnect from the network share, use the CD command to navigate back to a local working directory, such as C:\ (Windows) or / (Linux).

Clone this wiki locally