Question Locked

share drive script

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
one desktop machine i giving for sharing but problem is i maping manuly i know about the script but dont know how can make this type of script can you giving me share drive script!

2 replies

by nimmo

Here is a simple example of a mapping script:

net use * /delete /y
net use S: \\server\share /Y

I put the delete in above the mapping so that if there already is a share under S: it will be removed.

This discussion is closed to new replies.