PowerArchiver Home

  #1  
Old 10-07-2004, 06:49 PM
drew drew is offline
Senior Members
 
Join Date: Oct 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
external exclude file

Hello,
I've been making these batch files for my clients, and I need to do "cool stuff" in the exclude file. What sort of lines can I put in my file? Here is what I have now, the last line doesn't do anything...

---start noLawoffice.txt---
*.jpg
*.zip
*.pdf
*.tif
clients\*.*
"Bankruptcy Stuff\*.*"
---end---

command line switchs:
pacomp -P -r -c2 -x@mab_noLawoffice.txt "c:\backup\lawoffice_%mydate%.zip" "z:\law office\*.*"

Does this have something to do with the long file name? thanks,
drew kerlee
Reply With Quote
  #2  
Old 10-07-2004, 07:56 PM
drew drew is offline
Senior Members
 
Join Date: Oct 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
ah figured it out

for the exclusion file:
1. do not put quotes in the file, even for long file names, or files names with spaces
2. put the full path to the folder


---------------mab_clients.bat---------------
@echo off

echo "z:\law office\clients\*.* --> c:\backup\clients_(date).zip"
echo excluding: jpg, zip, pdf, tif, close cases

FOR /F "tokens=1-4 delims=/ " %%I IN ('DATE /t') DO SET mydate=%%L-%%J-%%K

PATH "C:\backup\bin"
pacomp -P -r -c2 -x@mab_noClients.txt "c:\backup\clients_%mydate%.zip" "z:\law office\clients\*.*"

echo all done!
---------------end---------------



---------------mab_noClients.txt---------------
*.jpg
*.zip
*.pdf
*.tif
Z:\law office\clients\closed cases\*.*
---------------end---------------
Reply With Quote
  #3  
Old 10-10-2004, 04:09 AM
ivan's Avatar
ivan ivan is offline
Alpha tester
 
Join Date: Jun 2001
Location: Croatia
Posts: 1,077
Thanks: 0
Thanked 9 Times in 8 Posts
Hello!

Yes, do need for quote-marks since every line means only one parameters, so it is easy to parse.
__________________
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
PowerArchiver Support
http://www.powerarchiver.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Reply With Quote
  #4  
Old 10-14-2004, 12:12 PM
ivan's Avatar
ivan ivan is offline
Alpha tester
 
Join Date: Jun 2001
Location: Croatia
Posts: 1,077
Thanks: 0
Thanked 9 Times in 8 Posts
We have added one more check for next version (4.00 BETA 2) - now even if you use quotes it will work.
__________________
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
PowerArchiver Support
http://www.powerarchiver.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 10:23 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.