On Wed, 2001-12-12 at 13:16, Anthony Rodriguez wrote: > What I'm really trying to acheive here is to map a network path to a drive > letter, then copy files to that path. The copy utility I'm using was > developed in-house and has trouble with UNC paths. It has other features > however that are specific and necessary to my environment. So the idea was > to pushd the UNC path, copy to the new drive that pushd assigns, then popd > when I'm done.
Wouldn't "net use z: \\server\share" get you what you need? You could use the exec task to map the drive & then use copy -- Jesse Stockall | Tel: 1+ 613.599.2441 ext. 243 CRYPTOCard Corporation | Fax: 1+ 613.599.2442 Suite 304, 300 March Rd. | email: [EMAIL PROTECTED] Ottawa, ON, Canada K2K 2E2 | web: www.cryptocard.com --------------------------------------------------------------------- -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
