I am trying to use Win32::Lanman for checking connection to a fileshare on windows. The name of the file share is \\10.95.206.110\filessytem\data. Now i use the following function given NetShareCheck as follows
print "Sorry, something went wrong; error: ";
# get the error code
It gives an error that it is not correct usage. When i see fuctions usage it shows that i need to specify a drive on the server but i only have the server address and fileshare name , there is no drive involved. How can i make this function work?