View Single Post
  #22  
Old 04-20-2010, 02:00 PM
Micke's Avatar
Micke Micke is offline
PA Super User
 
Join Date: Feb 2010
Location: Sweden
Posts: 131
Thanks: 11
Thanked 52 Times in 40 Posts
Hi!
I'm working on a new script for use with PACL and during the tests of it I discovered some new information regarding the problem described in this thread.

Quote:
Originally Posted by spwolf View Post
Hi guys,

Let me confirm this:

so there are 2 issues:
1. You want drive/share included into the path
2. If we have multiple share paths in list file, it will not work. Only single line works?

thanks!
I have tested this with 2 different list files
List file with one row (Listfile_Singlerow.txt)
Code:
Q:\Dokument\Amiga\*.pcx
List file with two rows (Listfile_Doublerow.txt)
Code:
Q:\Dokument\Amiga\*.pcx
R:\Cinemaware\*.adf
Running the command with single line list row
Code:
Q:\>pacomp -a -p Test_PACOMP_ListSingleRow.zip @Listfile_Singlerow.txt
PowerArchiver Command Line (PACL)              Version 6.01       [Feb 07 2010]
Copyright(c) 1999-2010 ConeXware, Inc.  All Rights Reserved. Registered Version
This product is licensed to:
Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive: Q:\Test_PACOMP_ListSingleRow.zip
  preparing to compress...
  adding: REFSCAN1.PCX   --> Done. [23%]
  adding: REFSCAN2.PCX   --> Done. [41%]
  adding: REFSCAN3.PCX   --> Done. [53%]
  adding: REFSCAN4.PCX   --> Done. [71%]
  adding: REFSCAN5.PCX   --> Done. [89%]
  adding: REFSCAN6.PCX   --> Done. [100%]

All OK

Q:\>
Running the same command with double line list row
Code:
Q:\>pacomp -a -p Test_PACOMP_ListDouble.zip @Listfile_Doublerow.txt
PowerArchiver Command Line (PACL)              Version 6.01       [Feb 07 2010]
Copyright(c) 1999-2010 ConeXware, Inc.  All Rights Reserved. Registered Version
This product is licensed to:
Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive: Q:\Test_PACOMP_ListDouble.zip
  preparing to compress...

   *** ERROR ():    DefaultDir
   *** WARNING: Nothing to add or update...

1 error(s) encountered

Q:\>
Now if I change the command in PACOMP from -p to -P and run it again with double line list row

Code:
Q:\>pacomp -a -P Test_PACOMP_ListDouble.zip @Listfile_Doublerow.txt
PowerArchiver Command Line (PACL)              Version 6.01       [Feb 07 2010]
Copyright(c) 1999-2010 ConeXware, Inc.  All Rights Reserved. Registered Version
This product is licensed to:
Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
  Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive: Q:\Test_PACOMP_ListDouble.zip
  preparing to compress...
  adding: Dokument\Amiga\REFSCAN1.PCX   --> Done. [0%]
  adding: Dokument\Amiga\REFSCAN2.PCX   --> Done. [1%]
  adding: Dokument\Amiga\REFSCAN3.PCX   --> Done. [1%]
  adding: Dokument\Amiga\REFSCAN4.PCX   --> Done. [2%]
  adding: Dokument\Amiga\REFSCAN5.PCX   --> Done. [2%]
  adding: Dokument\Amiga\REFSCAN6.PCX   --> Done. [3%]
  adding: Cinemaware\ICFTD21.adf   --> Done. [11%]
  adding: Cinemaware\ICFTD22.adf   --> Done. [20%]
  adding: Cinemaware\ICFTD23.adf   --> Done. [29%]
  adding: Cinemaware\it_came_from_the_desert-1.adf   --> Done. [38%]
  adding: Cinemaware\it_came_from_the_desert-2.adf   --> Done. [47%]
  adding: Cinemaware\it_came_from_the_desert-3.adf   --> Done. [55%]
  adding: Cinemaware\Tvbaskt1.adf   --> Done. [64%]
  adding: Cinemaware\TVBASKT2.ADF   --> Done. [73%]
  adding: Cinemaware\tvsportboxing.adf   --> Done. [82%]
  adding: Cinemaware\TVSportsBaseball-1.adf   --> Done. [91%]
  adding: Cinemaware\TVSportsBaseball-2.adf   --> Done. [100%]

All OK

Q:\>
As you can see, the results is now successful. The problem appears when you are using the -p parameter in the command, but if you are using the -P parameter instead, multiple rows in list files works without any problem.

I haven't tested this with \\<machine>\<sharename>\ in list files but most likely it will work the same depending on if you use the -P parameter.

I believe we can remove issue 2 from the list, however I would like to know why it works with -P but not with -p

Kind Regards
Micke