UNC Path

noun

say it: “yoo-en-SEE PATH” /ˌjuˌɛnˈsi ˈpæθ/

The network address of a shared folder: two backslashes, the computer's name, then the share's name.

What is a UNC path?

A UNC path is the address of a shared folder on another computer. Read it from the left: two backslashes say "another computer", then the computer's name, then the share's name, as in \\back-office\reports. File commands take it like any other path, so Copy-Item can drop a file straight into the share.

Copy-Item -Path .\weekly-report.txt -Destination '\\back-office\reports\'

In a sentence

  • “Test-Path tells a script whether a UNC path can be reached before it copies.”
  • “Sam copied the weekly report to the UNC path of the back-office share.”

Level: Journeyman · More Operating System terms at this level

Updated