R
Roidy
I have a function that reads a file but fails if I pass it a network device
name instead of an ip address eg:-
ReadFunction("\\NAS\Myfolder\Myfile.txt") <--- Fails
ReadFunction("\\192.168.2.2\Myfolder\Myfile.txt") <--- Works
So how do I convert a network devices name to it's ip address?
ie. Convert \\NAS\ to \\192.168.2.2\
Thanks
Robert
name instead of an ip address eg:-
ReadFunction("\\NAS\Myfolder\Myfile.txt") <--- Fails
ReadFunction("\\192.168.2.2\Myfolder\Myfile.txt") <--- Works
So how do I convert a network devices name to it's ip address?
ie. Convert \\NAS\ to \\192.168.2.2\
Thanks
Robert