I'm working on a script using the windows utility robocopy.exe to backup all network shares to a local drive. The shares are all password protected, and I would like to access them entering the password but without mapping a drive. I've used Win32::NetResource to map drives, but even after succesfully doing so (and entering the correct password) robocopy gives Error 86 "The specified network password is not correct" when I try to backup the drive. However, if I manually open the drive, then the backup is properly performed. Any suggestions?