Tuesday, 22 March 2011

7 Write a batch file to map network drives and a visual basic script to map network drives

A handy thing to know is how to map network drives, i designed two scripts to achieve this. The first one was just a text file modified to run as a batch file. The @echo off means do not display this on the screen. The following means to delete any instance of s: already set on the PC and then connect a new s: to the location \\leighdc\software. Save the text file as a .bat file and presto network map script.





This Visual Basic script uses coding to achieve the same thing. But is saved a a .vbs file


0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home