batch script to get the complete path using UNC path

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
sambasiva
Posts: 43
Joined: 02 Jun 2013 10:25

batch script to get the complete path using UNC path

#1 Post by sambasiva » 26 Jun 2013 05:10

Hi,

I have a directory C:\test which has been shared with name \\hostname\test.

Is there a way to get the actual directory name i.e. C:\test using the UNC path i.e. \\hostname\test

Please help.

Thanks
Sambasiva

foxidrive
Expert
Posts: 6031
Joined: 10 Feb 2012 02:20

Re: batch script to get the complete path using UNC path

#2 Post by foxidrive » 26 Jun 2013 06:47

Does typing this show you enough info?

net share

Post Reply