REFERENCE / 03

How to open a UNC path

Start with the host and share supplied by their owner. A correct address still needs a reachable network and an account with permission.

One example, three representations

These fictional addresses describe the same intended share and folder, but belong in different clients:

Windows path:  \\fileserver\team files\projects
SMB URL:       smb://fileserver/team%20files/projects
File URI:      file://fileserver/team%20files/projects

The space remains a space in the Windows path; URI path components use percent encoding. A file: URI is an address format, not a guarantee that an ordinary web page can open your share. Client and security restrictions still apply. IETF: the file URI scheme.

Windows: browse first, then inspect

Paste the Windows path into File Explorer’s address bar or the Windows + R Run dialog. Use the network/VPN required by the share owner. If prompted, use the account that is authorized for this share; the web converter cannot supply or validate credentials.

For a read-only directory listing in PowerShell, -LiteralPath avoids treating characters such as square brackets as wildcard syntax:

Get-ChildItem -LiteralPath '\\fileserver\team files\projects' -ErrorAction Stop

A listing means this command could enumerate that directory in the current account context. It does not prove write permission or that a scheduled task can do the same. An empty listing can be a valid result. Microsoft: Get-ChildItem.

Command Prompt: quote spaces

dir "\\fileserver\team files\projects"

If a command needs that network folder as its working directory, pushd can temporarily assign a drive letter when command extensions are enabled. Pair it with popd when finished; this is different from merely reading a path.

pushd "\\fileserver\team files\projects"
rem Continue only if pushd succeeded.
dir
popd

Do not assume the temporary letter is always Z:. Windows chooses an unused one. Microsoft: pushd behavior.

macOS: use Finder’s SMB connection

  1. In Finder, choose Go → Connect to Server.
  2. Enter smb://fileserver/team%20files and connect.
  3. Authenticate with the share’s authorized account, then open projects.

This uses the SMB service, not a Windows drive letter. If the owner gave you only Z:, first ask for its UNC mapping. Apple: connecting to a Windows computer.

Linux: the desktop client matters

In GNOME Files, choose Other Locations, enter the SMB URL in Connect to Server, and connect. Other desktops may label these controls differently; SMB support must be available in that client. A desktop connection is not automatically a system-wide mount for every command-line program. GNOME: browsing network shares.

If it fails, keep the evidence specific

  • Host/share not found: confirm spelling, network/VPN, and the actual share name with its owner.
  • Access denied: record which account was used; ask the owner to review its permissions.
  • Only one client fails: record the client/version and exact error, then compare its supported address format.

Do not disable firewalls, enable old SMB versions, or send someone your password as a shortcut. Continue with the guided troubleshooter. If only an automated task fails, see UNC paths versus mapped drives.