ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jesse Stockall <je...@cryptocard.com>
Subject RE: pushd and popd
Date Wed, 12 Dec 2001 19:44:31 GMT
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: jesse@cryptocard.com
 Ottawa, ON, Canada K2K 2E2	|	web: www.cryptocard.com 
---------------------------------------------------------------------


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message