-1

i was trying to change my change directory in my unc path,while trying to access the network folder myself getting error :

CMD does not support UNC paths as current directories.

is it there any method to access unc directories through command prompt?

BlueBerry - Vignesh4303
  • 8,129
  • 22
  • 68
  • 99

1 Answers1

2

Unfortunately, no. Which is annoying in this day of networked-everything.

Powershell is the next best thing if you want something native to Windows 7 or higher, without installing 3rd party tools. It generally copes with UNC paths fine.

Alternatively, you can map a UNC path to a drive letter. Then you can happily use the command prompt against that drive letter.

misha256
  • 11,298
  • 6
  • 53
  • 69