We have had to do this at work, you simply pushd "\\Network\Share\Here" at the top, which will map that as a drive using the last unassigned drive letter (usually z or something). Do what you need to with that share after, and then before the end of your file add popd, which will un-assign that temporary drive. I use this site for my dos reference: http://ss64.com/nt/ you can look into pushd and popd there if you need examples.