Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

enumerate the server from dfs share

Status
Not open for further replies.

djalexnl

Technical User
Mar 17, 2005
7
NL
Hi scripters around the globe.

I have a mapping (dfs) on a workstation and it can have the files from 3 servers: serverx servery or serverz

Is there a way to let a vbs script tell which server is the one the share of the workstation uses? goes to?

I have seen several scripts and read several forums but i cannot find a complete working script.

Thanx you all!

 
only way i know is to have a look at

dfsutil.exe /pktinfo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top