Yes, you can run a script in Windows XP to map shares at logon. You can even write it so it maps selective shares, based upon user name.
There are plenty of ways to do this. How about some specifics as to what you have, and what you need?
Is this XP Pro on a domain, or is this a workgroup? How many different computers? How many different users? How many different shares, how many shares / user, how many shares are shared by more than one user?
Writing scripts (in MS-Batch language) isn't hard. Making them work right is a challenge sometimes.
Cheers,
Chuck
Paranoia is not necessarily a bad thing - it's a normal response to experience.
it is just a home network basically 4 pcs connected together with a work group
and a hub. I am just trying to practice these stuff ...
there will be just admin and 2 extra users in this pc. i just want to do it in
this work statation. about sharing? i just want to share couple of folders and
MS Office Stuff and internet.
Create a file, say MapShares.cmd, one version for each of the 3 users. Put a shortcut to MapShares.cmd into the Startup list for each individual user.
Each version of MapShares contains a list of folders:
###
net use j: \\server1\share1
net use k: \\server2\share2a
net use l: \\server2\share2b
###
Or you could have 1 file with all 3 possibilities, in the common Startup list. Interrogate the environment variable %UserName% to decide what set of mappings to do.
Or you could be fancy, and have MapShares read a control file, say MapShares.ctl.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.