share drive script

By sagar.haldankar ·
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!

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

Drive mapping

by Nimmo In reply to share drive script

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.

Related Discussions

Related Forums