. at first, it appears that you are running this perl script using the executable in /usr/bin/perl which clearly indicates UN*X or a derivative thereof (since there is no real 'root' directory in the family of quality Microsoft products). Then, I see that you are using the standard WinSMB method of snatching a share from a host computer aptly named "sharedDrive". Other than closing your quotes, you might want to double-czech which OS you're running. Under UN*X, your '//' will never do what you want it to do. Perhaps if you supply more information or if you read up on the topic at hand, like