Paul,
You need the winzip commandline addon (Free)

http://www.winzip.com/prodpagecl.htm

Look at the -p option to preserve the path.

http://www.developerfusion.co.uk/show/2043/

Dave Crozier

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Paul Newton
Sent: 14 November 2007 16:16
To: [email protected]
Subject: UNC path question

Hi all

I am working with a zip/unzip routine that stores path and requires 
restoring to the "root" of the drive.  IOW I Zip all the files in 
C:\temp to a zip and restore them to C:.  This works fine because I can 
use JUSTDRIV("C:\Temp") to determine the restore destination.

However if I am using UNC paths and, e.g. zip all the files in 
\\computer\drive\folder, how can I get the equivalent of JUSTRIVE(), 
i.e. \\computer\drive

Thanks

Paul Newton



[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to