Windows Vista and 7 – UNC Paths in the Command Prompt
I have a NAS and several times, I need a list of the directories on it in a txt-file, using DIR is perfect for this.
But unmapped NAS’s are usually accessed by UNC paths, sadly, Windows Vista and 7 doesn’t support UNC paths when using Command Prompt commands, such as DIR.
Luckily, I found this quick workaround: http://www.pctools.com/guides/registry/detail/1247/
Works perfectly!