Quantcast
Channel: File Services and Storage Forum
Viewing all articles
Browse latest Browse all 1766

Script to delete mapping in vbscript.

$
0
0

Hello to all,

I do consulting in a company where I'm implementing a DFS File in Windows Server 2008 R2.

I noticed that my client there is a logon Script configured as follows below:

' MAPPINGS

On Error Resume Next

path = "$ \\Server\DRIVE_F"

Network. MapNetworkDrive "f:", path

Name. NameSpace ("F:").Self Name = "DATA GROUPCOMPANY NAME"

On Error Resume Next

path = "$ \\Server\viagens"

Network. MapNetworkDrive "g:", path

Name. NameSpace ("G:").Self Name = "COMPANY NAME GROUP TRAVEL"

My doubt is if I change the above paths to\\domain\fs\sharedfolders mappings or will I need to add a delete mapping in vbscript If yes how do I?


Thank you to everyone who ansered

sincerely

Leonardo Almeida


Viewing all articles
Browse latest Browse all 1766

Trending Articles



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