Re: Removing folders from a tar

Jason H <[email protected]> Thu, 12 Nov 2009 09:26:21 -0800 (PST)
Newsgroups gmane.comp.windows.gnu.user
Message-ID <[email protected]>
in your VBA script, CD to the directory and then only reference it by relative name. 


CD L:\HRA-LIDS\BatchFiles\2009-11-12\
C:\Progra~1\GnuWin32\bin\bsdtar -cf 8314048612111209.tar 8314048612111209

If you need to put it not in L:\HRA-LIDS\BatchFiles\2009-11-12, then specify the desintation on the command line

CD L:\HRA-LIDS\BatchFiles\2009-11-12\
C:\Progra~1\GnuWin32\bin\bsdtar -cf C:\temp\8314048612111209.tar 8314048612111209


      


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july