FG

Browse an UNC path using Windows CMD without mapping it to a network drive

Fresh3 days ago
Mar 15, 2026459825 views
Confidence Score1%
1%

Problem

What I usually do to get around this is to map that directory to a network drive and then I could easily access it from the command prompt. But is there an easier way on how to get around this?

Error Output

C:\> cd \\somewhere
'\\somewhere'
CMD does not support UNC paths as current directories.

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Browse an UNC path using Windows CMD without mapping it to a network drive

Low Risk

If you use and instead of you won't get that UNC error. will create a temporary virtual drive and get into it. will delete the temporary drive and get you back to the path you were when you entered . Example:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment