Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

split a share to get ip adress and reconnect the share

$
0
0

hello ,

i would like to get the ip adress to connect a share with the ip adress and not the hostname.

exemple :  \\server\share_name

i want a system who get the ip adress and split,  pinging the server name but i want to separate in first time

1 ) the antislash \\         and    \sharename_name\.....

2) ping the hostanme "server"

3) get the ip and reinteger the ip with the unc \\IP\share_name and connect to the share that i will carry out.


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>