|I am trying to migrate a large series of users from one domain to another while at the same time swap their XP based PC for a Windows 7 one.|
I have a batch script that searches for any of their files on the C:\ Drive and copies it to their network share and at the same time runs the command
net use > "%drive%\drives.log"
to produce a text file that lists their mapped drive letters and paths.
What I want is another batch file that will read this file and automatically map the network shares to the same letters they had.
How should I go about this?
If possible I would also like to expand my backup script to include any printers currently attached or mapped to the xp machine, and output that to a file that I could run on the win 7 machine to re-add all printers with as little hassle as possible.