Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-18-2013, 04:12 PM
abc123 abc123 is online now
Registered User
 
Join Date: 01-18-2013
Posts: 6
Enhanced Zip - Including folder but not entire path

Directory structure:
E:\Stuff\FolderIWant\SubFolders

I want to Zip up FolderIWant so that when I unzip, it includes FolderIWant and all its contents, but does not create a Stuff folder also.

What I'm currently trying is using E:\Stuff for the source folder and /FolderIWant in the Include: list. However, this is taking an extremely long time to process and I'm testing with very small files\folders so I believe it is the search for the folder in Include that is taking so long.

Any ideas on speeding up my current process or an entirely different way to do this efficiently?
Reply With Quote
  #2  
Old 01-18-2013, 04:26 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
One option: Copy or move the folder to be zipped into a temporary location (i.e., E:\Stuff\FolderIWant\SubFolders -> %TEMP%\work\Stuff\FolderIWant) and zip the temporary Stuff folder instead (ensuring that no other folders exist under the temp %TEMP%\work\Stuff folder).
Reply With Quote
  #3  
Old 01-18-2013, 04:31 PM
abc123 abc123 is online now
Registered User
 
Join Date: 01-18-2013
Posts: 6
Thanks for the quick reply.

I've used that process and it works fine, but occasionally these folders contain a significant amount of data and copying to another location and then zipping adds quite a bit of time to the process so I was hoping to find something a little more efficient.
Reply With Quote
  #4  
Old 01-18-2013, 04:40 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Create a symbolic link rather than moving/copying.
http://technet.microsoft.com/en-us/l...=ws.10%29.aspx
Reply With Quote
Reply

Tags
enhanced zip , zip


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 04:24 AM.


Copyright © 1999-2023 Kinook Software, Inc.