I need to be able determine the path of the network Q drive at work for a WEBMethods project. The code that I have before is in my configuration file. I placed single character leters inside of the directories just for security reasons. I am not sure what the semi-colon is for, but I think that the double slashes are were the drive name comes to play.
Question: Is there an easy way on a Windows 7 machine to find out what the full path of the UNC is for any specific drive location?
Code:
allowedWritePaths=Q:/A/B/C/D/E/
allowedReadPaths=C:/A/B;//itpr99999/c$/A/FileName.txt
allowedDeletePaths=
This question has been answered already, but since there is a more convenient way to get the UNC path and some more I recommend using Path Copy, which is free and you can practically get any path you want with one click:
https://pathcopycopy.github.io/
Here is a screenshot demonstrating how it works. The latest version has more options and definitely UNC Path too:
In Windows, if you have mapped network drives and you don't know the UNC path for them, you can start a command prompt (Start | Run | cmd.exe) and use the
net use
command to list your mapped drives and their UNC paths:Note that this shows the list of mapped and connected network file shares for the user context the command is run under. If you run
cmd.exe
under your own user account, the results shown are the network file shares for yourself. If you runcmd.exe
under another user account, such as the local Administrator, you will instead see the network file shares for that user.