Recent Topics

# Problem archiving from shares between 4.01 and 6.01

• Hi,

I’ve just upgraded from 4.01 to 6.01 and now many of my archive jobs no longer work.

The jobs archive data into a single zip from shares on different machines.

Here is the job under 4.01:

E:\PACL4>type pacl6prob.lst
\\DTTST03\Data\pacltest\*.*
\\DTRAH05\Data\pacltest\*.*

E:\PACL4>pacomp -a -r -p -k -c2 PACL6prob.zip @PACL6prob.lst
PowerArchiver Command Line (PACL)              Version 4.01       [Mar 07 2005]
This product is licensed to: Decision Systems Ltd
Archive Compression Utility -- ZIP, CAB, LHA, BH, JAR, TAR, GZIP, BZIP2
Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive: E:\PACL4\PACL6prob.zip
preparing to compress...

E:\PACL4>paext -t PACL6prob.zip
PowerArchiver Command Line (PACL)              Version 4.01       [Mar 07 2005]
This product is licensed to: Decision Systems Ltd
Archive Extr.---ZIP,CAB,LHA,ARJ,RAR,ARC,ACE,TAR,GZIP,BZIP2,UUE,ZOO,B64,YENC,...
Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive --> E:\PACL4\PACL6prob.zip [ZIP]

testing: DTTST03\Data\pacltest\F1\FILE1.TXT  --> OK [12%]
testing: DTTST03\Data\pacltest\F1\FILE2.TXT  --> OK [25%]
testing: DTTST03\Data\pacltest\F2\FILE3.TXT  --> OK [38%]
testing: DTTST03\Data\pacltest\F2\FILE4.TXT  --> OK [50%]
testing: DTRAH05\Data\pacltest\F1\FILE1.TXT  --> OK [62%]
testing: DTRAH05\Data\pacltest\F1\FILE2.TXT  --> OK [75%]
testing: DTRAH05\Data\pacltest\F2\FILE3.TXT  --> OK [88%]
testing: DTRAH05\Data\pacltest\F2\FILE4.TXT  --> OK [100%]

E:\PACL4>



As you can see, the machine names and share names have been incorporated into the folder structure.

This is the same job under 6.01:

E:\PACL6>type pacl6prob.lst
\\DTTST03\Data\pacltest\*.*
\\DTRAH05\Data\pacltest\*.*

E:\PACL6>pacomp -a -r -p -k -c2 PACL6prob.zip @PACL6prob.lst
PowerArchiver Command Line (PACL)              Version 6.01       [Feb 07 2010]
This product is licensed to: Decision Systems Ltd
Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive: E:\PACL6\PACL6prob.zip
preparing to compress...

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

1 error(s) encountered

E:\PACL6>paext -t PACL6prob.zip
PowerArchiver Command Line (PACL)              Version 6.01       [Feb 07 2010]
This product is licensed to: Decision Systems Ltd
Archive Extr.---ZIP,ZIPX,7Z,CAB,LHA,ARJ,RAR,ACE,TAR,GZ,BZ2,UUE,ZOO,B64,YENC,...
Internet: http://www.powerarchiver.com  Email: support@conexware.com

E:\PACL6>


Is there any way of making this work under version 6?

Thanks,

• Hi!
I have made some tests on my own enviroment and I have also been successfull in recreating this problem.

The problem appears in PACL 6.01 when you have more than one line in the listfile.

Example of listfile that gives the same error message as you have:

\\TESTPC\Install\PACL_Test\*.*
\\TESTPC\Public\PACL_Test\*.*



But if I remove one of the rows resulting in only one row in the listfile, then everything works ok.

\\TESTPC\Install\PACL_Test\*.*



It looks like there can only be one line in the listfile or you will get this error. I need confirmation from the Administrators if this is correct or not.

I suggest you test with only one line in your listfile for PACL 6.01 to confirm if you get the same results as I have.

\\DTTST03\Data\pacltest\*.*



I have tested this with PACL 6.01 on Windows XP with SP3.

Kind Regards
Micke

• Hi Micke,

Thanks for looking into this.

But if I remove one of the rows resulting in only one row in the listfile, then everything works ok.

Agreed - It runs, but does not produce the correct results - the machine name and share name are not included in the archive.

It looks there are two issues:

1. Multiple lines in the list file:
E:\PACL6>type pacl6prob.lst
C:\Temp\*.doc
E:\Temp\*.bat

E:\PACL6>pacomp -a -r -p -k -c2 PACL6prob.zip @PACL6prob.lst
PowerArchiver Command Line (PACL)              Version 6.01       [Feb 07 2010]
This product is licensed to: Decision Systems Ltd
Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive: E:\PACL6\PACL6prob.zip
preparing to compress...

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

1 error(s) encountered

E:\PACL6>paext -t PACL6prob.zip
PowerArchiver Command Line (PACL)              Version 6.01       [Feb 07 2010]
This product is licensed to: Decision Systems Ltd
Archive Extr.---ZIP,ZIPX,7Z,CAB,LHA,ARJ,RAR,ACE,TAR,GZ,BZ2,UUE,ZOO,B64,YENC,...
Internet: http://www.powerarchiver.com  Email: support@conexware.com

E:\PACL6>

1. Storage of share names:
E:\PACL6>type pacl6prob.lst
\\DTTST03\Data\pacltest\*.*

E:\PACL6>pacomp -a -r -p -k -c2 PACL6prob.zip @PACL6prob.lst
PowerArchiver Command Line (PACL)              Version 6.01       [Feb 07 2010]
This product is licensed to: Decision Systems Ltd
Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive: E:\PACL6\PACL6prob.zip
preparing to compress...

All OK

E:\PACL6>paext -t PACL6prob.zip
PowerArchiver Command Line (PACL)              Version 6.01       [Feb 07 2010]
This product is licensed to: Decision Systems Ltd
Archive Extr.---ZIP,ZIPX,7Z,CAB,LHA,ARJ,RAR,ACE,TAR,GZ,BZ2,UUE,ZOO,B64,YENC,...
Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive --> E:\PACL6\PACL6prob.zip [ZIP]

testing: pacltest\F1\FILE1.TXT  --> OK [25%]
testing: pacltest\F1\FILE2.TXT  --> OK [50%]
testing: pacltest\F2\FILE3.TXT  --> OK [75%]
testing: pacltest\F2\FILE4.TXT  --> OK [100%]

E:\PACL6>


The above tests we’re run XP SP3.

Under Windows Server 2003 R2 the results for multiple rows in the listfile appears to work (but not storage of shares):

D:\Temp\PACL6>ver

Microsoft Windows [Version 5.2.3790]

D:\Temp\PACL6>type pacl6prob.lst
\\SVWIN01\DSL\Misc\*.Doc
\\SVWIN01\DSL\Temp\*.txt

D:\Temp\PACL6>pacomp -a -r -p -k -c2 PACL6prob.zip @PACL6prob.lst
PowerArchiver Command Line (PACL)              Version 6.01       [Feb 07 2010]
This product is licensed to: Decision Systems Ltd
Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive: D:\Temp\PACL6\PACL6prob.zip
preparing to compress...

All OK

D:\Temp\PACL6>paext -t PACL6prob.zip
PowerArchiver Command Line (PACL)              Version 6.01       [Feb 07 2010]
This product is licensed to: Decision Systems Ltd
Archive Extr.---ZIP,ZIPX,7Z,CAB,LHA,ARJ,RAR,ACE,TAR,GZ,BZ2,UUE,ZOO,B64,YENC,...
Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive --> D:\Temp\PACL6\PACL6prob.zip [ZIP]

testing: Misc\Test.Doc  --> OK [0%]
testing: Temp\test.Txt  --> OK [100%]

D:\Temp\PACL6>


I use PACL extensively for backing-up multiple machines so this is a show stopper for me. Let me know if I can help further? (more tests, beta builds etc.)

Thanks,

• 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!

• Hi spwolf,

1. You want drive/share included into the path

For me it’s the “\<machine><sharename>” which need storing as folders - the same as in 4.01. I’m not sure what you mean by “drive”

2. If we have multiple share paths in list file, it will not work. Only single line works?

Correct

Thanks.</sharename></machine>

• i think reason that worked in 4.01 was that it was not properly parsed out, while now we have properly parsed it out at runtime ;-).

So basically, we will have to add option to include drive and share name in the future

• I’m afraid that doesn’t make sense.

You’ve removed a clever and sensible piece of functionality which worked perfectly in the earlier version. Now you’re calling this functionality a bug :mad:

So basically, we will have to add option to include drive and share name in the future

Which will be when? So far I’ve spent money on 6.01 and found it to be unusable.

• Hi!
I can confirm that this listfiles works correctly in Windows XP Sp3 using PACL 6.01

Using driveletters

Q:\PACL_Test\*.*



Using \<machine><sharename>\

\\TESTPC\Public\PACL_Test\*.*



When running with a single line filelist that have either driveletter or \<machine><sharename>\ I get a successful result

Archive: C:\Programs\PACL\PACL6_Filelist1.zip
preparing to compress...

All OK



If the listfile has more than one row, it doesn’t work. I get the same error with driveletters and with \<machine><sharename>\

Q:\PACL_Test\*.*
R:\PACL_Test\*.*


\\TESTPC\Public\PACL_Test\*.*
\\TESTPC\Install\PACL_Test\*.*


Archive: C:\Programs\PACL\PACL6_Filelist2.zip
preparing to compress...

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

1 error(s) encountered



Which will be when? So far I’ve spent money on 6.01 and found it to be unusable.

I think I can help you with this, by creating a script that will give you the same functionality in PACL 6.01 as you have in PACL 4.01. I can’t guarantee that it will work, but I’ll make some tests to see if it works or not.

This will be a workaround until a update of PACL 6.01 is available.

I’ll get back with more info when I have finished the script.

Kind Regards
Micke</sharename></machine></sharename></machine></sharename></machine>

• Agreed - It runs, but does not produce the correct results - the machine name and share name are not included in the archive.

I actually missed that, but I see now that the same thing happens for me. Now I’m not so sure that a script actually will solve it, but I’ll give it a try.

Kind Regards
Micke

• I’m afraid that doesn’t make sense.

You’ve removed a clever and sensible piece of functionality which worked perfectly in the earlier version. Now you’re calling this functionality a bug :mad:

Which will be when? So far I’ve spent money on 6.01 and found it to be unusable.

It was an bug, that had functionality that you liked ;-).
It was one of the “bugs” that other users reported in PACL 4.x. Setting for saving drive letters and network shares is usually an extra option in compression applications, not an default one.

If you would preffer to use PACL 4.x, we will gladly issue an refund for you. Just send us an email to support@conexware with your order number and refference this thread. It is just that PACL 6 is really several magnitudes better product than PACL 4.

Both “issues” are not complicated to do, but I can not guarantee that version of PACL 6.02 will be out tomorrow. We have to finish other things we are doing right now and then move to PACL.

We had PACL in testing for this exact reason for a year and nobody reported anything in past quite few months. We do rely on our users to tell us how they use the product ;-). I am glad that more people are now telling us how they use PACL, thats really very helpful!

thank you…

• Setting for saving drive letters and network shares is usually an extra option in compression applications, not an default one.

Personally I didn’t even think of that the drive letters and network shares wasn’t saved in the path for the files when creating archives. If this will be implemented in a future version of PACL maybe it then should be with an option if it’s to be included or not during archive creation.

I am glad that more people are now telling us how they use PACL, thats really very helpful!

What’s the idea of using a list file if it can only have one row in it? I haven’t used list files before because I haven’t used PACL for so long time yet. However IMHO there should be possible to have more than one line of paths to the files in a list file. Otherwise you can just put the path directly in the command when running PACOMP.

Kind Regards
Micke

• Personally I didn’t even think of that the drive letters and network shares wasn’t saved in the path for the files when creating archives. If this will be implemented in a future version of PACL maybe it then should be with an option if it’s to be included or not during archive creation.

What’s the idea of using a list file if it can only have one row in it? I haven’t used list files before because I haven’t used PACL for so long time yet. However IMHO there should be possible to have more than one line of paths to the files in a list file. Otherwise you can just put the path directly in the command when running PACOMP.

Kind Regards
Micke

yeah, as i said, it would be an additional option. When it comes to PACL, people use it in various ways, so always good to have options.

As to the list issue, it is an bug, not intended behaviour!

Here’s a script for use with PACL 6.01. It will solve half of your problem by making it possible to have more than one row in a list file.

I have made it very simple for me, the script assumes that you have a maximum of 10 rows in the list file. It’s very easy to add more if you need to.

Here’s the code for the script. Copy the code and save it as PACOMP_List.vbs or whatever name you prefer.

'******************************************************************************
'* PACOMP_List.vbs
'* @author:	Micke
'* @hist	2010-03-12	CREATED:Script for compress multiple file types
'*						using a listfile.
'*
'* Usage: cscript PACOMP_List.vbs ArchiveName.extension ListFilePath
'* Example1: cscript PACOMP_List.vbs C:\Temp\MyArchive.zip C:\Temp\ListFile.txt
'* Example2: cscript PACOMP_List.vbs C:\Temp\MyArchive.zip D:\Test\FileLists.txt
'*
'*******************************************************************************
Option Explicit

'Constants
Const PACOMP = "C:\Programs\PACL\PACOMP.exe"

'Variables
Dim FSO, objDir, aList(10), aPath(10), FileExtension, ArchiveName, ListFilePath
Dim aFile, aItem, strCompressionString, WshShell, objTextFile
Dim strCurrentLine, iCounter, strPath, DrivePath, strCurrentFileName

'Check number of arguments
If WScript.Arguments.Count <> 2 Then
WScript.Echo "Usage: cscript PACOMP_List.vbs ArchiveName.extension ListFilePath"
WScript.Echo "Example 1: cscript PACOMP_List.vbs C:\Temp\MyArchive.zip C:\Temp\ListFile.txt"
WScript.Echo "Example 2: cscript PACOMP_List.vbs C:\Temp\MyArchive.zip D:\Test\FileLists.txt"
WScript.Quit
End If

'Create the FileSystemObject
Set FSO = CreateObject("Scripting.FileSystemObject")

'Create the ShellObject
Set WshShell = CreateObject("WScript.Shell")

'Get data from the Arguments
ArchiveName = WScript.Arguments.Item(0)
ListFilePath = WScript.Arguments.Item(1)

If FSO.FileExists(ListFilePath) Then
Else
WScript.Echo "Could not find ListFile"
WScript.Echo "Path to ListFile set as: " & ListFilePath
WScript.Echo "Unable to continue script, exiting..."
WScript.Quit
End If

'Check the filetypes in the ListFile
CheckFileTypes()

iCounter = 0

Set objTextFile = FSO.OpenTextFile(ListFilePath, 1)

Do Until objTextFile.AtEndOfStream
iCounter = iCounter + 1
Loop

objTextFile.Close

End Sub

Sub CheckFileTypes()

'Check the Array of FilePaths
For Each strPath In aPath

If Len(strPath) > 0 Then

'Get the FileName from the path
strCurrentFileName = Mid(strPath, InStrRev(strPath, "\")+1)

'Check if FileName is not set as *.*
If strCurrentFileName <> "*.*" Then

'Get the Path without the FileName
strPath = Left(strPath,Len(strPath)-Len(strCurrentFileName))

'Get the FileExtension
FileExtension = LCase(Right(strCurrentFileName, 3))

'Set the current folder to start searching from
Set objDir = FSO.GetFolder(strPath)
SearchFolders(objDir)
Else
End If
End If

Next

End Sub

'Sub for Searching recursive in Folders
Sub SearchFolders(pstrCurrentPath)

For Each aFile In pstrCurrentPath.Files
If FileExtension = LCase(Right(CStr(aFile.Name), 3)) Then
End If
Next

For Each aItem In pstrCurrentPath.SubFolders
SearchFolders(aItem)
Next

End Sub

'Create the string with parameters for PACOMP
strCompressionString = PACOMP & " -a -p -k -c2 " & Chr(34) & ArchiveName & Chr(34) & " " & Chr(34) & pstrFileName & Chr(34)
WScript.Echo strCompressionString
WshShell.Run strCompressionString, 0, True

End Sub

'Create the string with parameters for PACOMP
strCompressionString = PACOMP & " -a -r -p -k -c2 " & Chr(34) & ArchiveName & Chr(34) & " " & Chr(34) & pstrFileName & Chr(34)
WScript.Echo strCompressionString
WshShell.Run strCompressionString, 0, True

End Sub



I don’t know if you have any use of this. I only wrote it because it’s fun writing scripts as workarounds for problems

The script is only tested with PACL 6.01 on Windows XP Sp3.

Kind Regards
Micke

• For what it is worth, I have only used @list with filenames (not folders) and then multiple lines works OK
(easier as the names don’t have to be quoted when spaces are in path/name).

• Micke is spoiling us with his scripts ;-).

• Micke is spoiling us with his scripts ;-).

Thanks, now I feel an obligation to continue writing scripts for use with PACL when users report new problems

Kind Regards
Micke

• Wow - so much interest

First of all, thanks for everyone’s contributions and especially Micke for the script. I’ve downloaded it and it works fine for issue 2, “multiple rows in listfile”:

E:\PACL6>ver

Microsoft Windows XP [Version 5.1.2600]

E:\PACL6>type pacl6prob.lst
\\DTTST03\Data\pacltest\*.*
\\DTRAH05\Data\pacltest\*.*

E:\PACL6>cscript pacl6probscript.vbs PACL6prob.zip PACL6prob.lst
Microsoft (R) Windows Script Host Version 5.7

E:\PACL6\PACOMP.exe -a -r -p -k -c2 "PACL6prob.zip" "\\DTTST03\Data\pacltest\*.*
"
E:\PACL6\PACOMP.exe -a -r -p -k -c2 "PACL6prob.zip" "\\DTRAH05\Data\pacltest\*.*
"

E:\PACL6>paext -t PACL6prob.zip
PowerArchiver Command Line (PACL)              Version 6.01       [Feb 07 2010]
This product is licensed to: Decision Systems Ltd
Archive Extr.---ZIP,ZIPX,7Z,CAB,LHA,ARJ,RAR,ACE,TAR,GZ,BZ2,UUE,ZOO,B64,YENC,...
Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive --> E:\PACL6\PACL6prob.zip [ZIP]

testing: pacltest\F1\FILE1.TXT  --> OK [25%]
testing: pacltest\F1\FILE2.TXT  --> OK [50%]
testing: pacltest\F2\FILE3.TXT  --> OK [75%]
testing: pacltest\F2\FILE4.TXT  --> OK [100%]
testing: pacltest\  --> OK [100%]
testing: pacltest\F1\  --> OK [100%]
testing: pacltest\F2\  --> OK [100%]

E:\PACL6>


Regarding the second, and more important, issue for me, I’d be happy with an option to store the machine & share names. Options are good

I guess we’ll have to agree to disagree on whether a developers “tidying up”, affecting functionality of the product, is right. If other users are reporting it as a bug then a decision has to be made, one way or the other - which is what’s happened. Unfortunately, this time, I was at the wrong end of the decision.

Regarding a refund? I don’t one. I think I’ve had real value for money from PACL and wish to contribute to it’s continued development. Version 6 does offer so much more (as you say) and I like the way coneXware operates. I do feel a little guilty that I didn’t test the version 6 beta as these issues would have surfaced much earlier.

Keep up the good work guys and here’s looking forward to 6.02. Let me know if I can help with testing etc.

• thank you badders! Better check our future betas so there wont be any surprises ;-).

As i said before, we warmly welcome more advanced users for PACL to the forums, so you can tell us better how you use PACL. Without that, we are just guessing!

thanks.

It’s nice to hear that the script works for you. As always there’s a risk of something missing and you don’t see it until someone else is testing it.

Kind Regards
Micke

• Better check our future betas so there wont be any surprises ;-).

Ouch!

As i said before, we warmly welcome more advanced users for PACL to the forums, so you can tell us better how you use PACL. Without that, we are just guessing!

Certainly will. I’ll have a think and let you know.

(Thank you again Micke for your work on the script alternative)

Cheers,

• 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.

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)

Q:\Dokument\Amiga\*.pcx



List file with two rows (Listfile_Doublerow.txt)

Q:\Dokument\Amiga\*.pcx



Running the command with single line list row

Q:\>pacomp -a -p Test_PACOMP_ListSingleRow.zip @Listfile_Singlerow.txt
PowerArchiver Command Line (PACL)              Version 6.01       [Feb 07 2010]
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...

All OK

Q:\>



Running the same command with double line list row

Q:\>pacomp -a -p Test_PACOMP_ListDouble.zip @Listfile_Doublerow.txt
PowerArchiver Command Line (PACL)              Version 6.01       [Feb 07 2010]
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

Q:\>pacomp -a -P Test_PACOMP_ListDouble.zip @Listfile_Doublerow.txt
PowerArchiver Command Line (PACL)              Version 6.01       [Feb 07 2010]
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...

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</sharename></machine>

• p|P : store relative Pathnames|store full Pathnames

• p|P : store relative Pathnames|store full Pathnames

Yes, I know that, but the error message doesn’t indicate that the parameter p is the problem.

Maybe this should be mentioned in the documentation of PACL that the command -p in combination with a list file could cause error messages if the list file contains more than one row.

Kind Regards
Micke

• Yes, I know that, but the error message doesn’t indicate that the parameter p is the problem.

Maybe this should be mentioned in the documentation of PACL that the command -p in combination with a list file could cause error messages if the list file contains more than one row.

Kind Regards
Micke

but thats an bug ;-)…. so in next update, it will be fixed.

• but thats an bug ;-)…. so in next update, it will be fixed.

Thanks, the reason for bringing this up again was that the first test indicated that there was always error messages when using list files with multiple lines. When I found out that it worked with more than one line by using the P parameter I thought that maybe it wasn’t a bug but incorrect parameter setting.

Anyway, thanks for the information. Looking forward the next update of PACL

Kind Regards
Micke

• 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.</sharename></machine>

No it doesn’t - unfortunately.

E:\PACL6>ver

Microsoft Windows XP [Version 5.1.2600]

E:\PACL6>type pacl6prob.lst
\\DTTST03\Data\pacltest\*.*
\\DTRAH05\Data\pacltest\*.*

E:\PACL6>pacomp -a -r -P -k -c2 PACL6prob.zip @PACL6prob.lst
PowerArchiver Command Line (PACL)              Version 6.01       [Feb 07 2010]
This product is licensed to: Decision Systems Ltd
Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive: E:\PACL6\PACL6prob.zip
preparing to compress...

All OK

E:\PACL6>paext -t PACL6prob.zip
PowerArchiver Command Line (PACL)              Version 6.01       [Feb 07 2010]
This product is licensed to: Decision Systems Ltd
Archive Extr.---ZIP,ZIPX,7Z,CAB,LHA,ARJ,RAR,ACE,TAR,GZ,BZ2,UUE,ZOO,B64,YENC,...
Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive --> E:\PACL6\PACL6prob.zip [ZIP]

testing: pacltest\F1\FILE1.TXT  --> OK [12%]
testing: pacltest\F1\FILE2.TXT  --> OK [25%]
testing: pacltest\F2\FILE3.TXT  --> OK [37%]
testing: pacltest\F2\FILE4.TXT  --> OK [50%]
testing: pacltest\F1\FILE1.TXT  --> OK [62%]
testing: pacltest\F1\FILE2.TXT  --> OK [75%]
testing: pacltest\F2\FILE3.TXT  --> OK [87%]
testing: pacltest\F2\FILE4.TXT  --> OK [100%]

E:\PACL6>pause
Press any key to continue . . .



It doesn’t come up with the ‘*** ERROR (): DefaultDir’ message (as it does with -p) but what you do get, somehow, is duplicate files as shown above.

Bug?

• No it doesn’t - unfortunately.

It doesn’t come up with the ‘*** ERROR (): DefaultDir’ message (as it does with -p) but what you do get, somehow, is duplicate files as shown above.

Bug?

My guess is that you have the same directory and file structure in both computer shares. The files will be added to the archive with full path, but the path is the exactly the same on both computer shares.

I’ll probably be able to reproduce this when using different drive letters if the path and files is the same on both drives.

I have also been successful with use of the -p parameter on multiple line list files on some occasions. I need to do some more tests to see how I can recreate a successful results with the -p parameter and multiple line list files.

Kind Regards
Micke

• what you do get, somehow, is duplicate files as shown above.

I get the same results when I use drive letters in list file.

Listfile_Doublerow.txt

Q:\Dokument\Amiga\*.*
R:\Dokument\Amiga\*.*

Q:\>pacomp -a -P -r Test_Doublerow.zip @Listfile_Doublerow.txt
PowerArchiver Command Line (PACL)              Version 6.01       [Feb 07 2010]
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_Doublerow.zip
preparing to compress...
adding: Dokument\Amiga\Deluxe Paint 4 Manual.pdf   --> Done. [2%]
adding: Dokument\Amiga\Amiga XP x86.pdf   --> Done. [45%]
adding: Dokument\Amiga\Deluxe Paint 4 Manual.pdf   --> Done. [56%]
adding: Dokument\Amiga\Amiga XP x86.pdf   --> Done. [100%]

All OK

Q:\>paext -t Test_Doublerow.zip
PowerArchiver Command Line (PACL)              Version 6.01       [Feb 07 2010]
Archive Extr.---ZIP,ZIPX,7Z,CAB,LHA,ARJ,RAR,ACE,TAR,GZ,BZ2,UUE,ZOO,B64,YENC,...
Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive --> Q:\Test_Doublerow.zip [ZIP]

testing: Dokument\Amiga\Deluxe Paint 4 Manual.pdf  --> OK [2%]
testing: Dokument\Amiga\REFSCAN1.PCX  --> OK [4%]
testing: Dokument\Amiga\REFSCAN2.PCX  --> OK [6%]
testing: Dokument\Amiga\REFSCAN3.PCX  --> OK [7%]
testing: Dokument\Amiga\REFSCAN4.PCX  --> OK [9%]
testing: Dokument\Amiga\REFSCAN5.PCX  --> OK [11%]
testing: Dokument\Amiga\REFSCAN6.PCX  --> OK [12%]
testing: Dokument\Amiga\Amiga XP x86.pdf  --> OK [45%]
testing: Dokument\Amiga\TF\3Pluto.pcx  --> OK [46%]
testing: Dokument\Amiga\TF\4Goofy.pcx  --> OK [48%]
testing: Dokument\Amiga\TF\5Donald.pcx  --> OK [49%]
testing: Dokument\Amiga\TF\6Daisy.pcx  --> OK [49%]
testing: Dokument\Amiga\TF\3Pluto.pcx  --> OK [50%]
testing: Dokument\Amiga\TF\4Goofy.pcx  --> OK [52%]
testing: Dokument\Amiga\TF\5Donald.pcx  --> OK [53%]
testing: Dokument\Amiga\TF\6Daisy.pcx  --> OK [54%]
testing: Dokument\Amiga\Deluxe Paint 4 Manual.pdf  --> OK [56%]
testing: Dokument\Amiga\REFSCAN1.PCX  --> OK [58%]
testing: Dokument\Amiga\REFSCAN2.PCX  --> OK [60%]
testing: Dokument\Amiga\REFSCAN3.PCX  --> OK [61%]
testing: Dokument\Amiga\REFSCAN4.PCX  --> OK [63%]
testing: Dokument\Amiga\REFSCAN5.PCX  --> OK [65%]
testing: Dokument\Amiga\REFSCAN6.PCX  --> OK [66%]
testing: Dokument\Amiga\Amiga XP x86.pdf  --> OK [100%]

Q:\>



The duplicate files is logic because the path is exactly the same in both rows except for the drive letter. It’s a bug because obvious nobody have tried using same path and filenames but on different machines and/or drive letters before.

Kind Regards
Micke

• Please check your reported issues and see if they are fixed or not… thanks!

• OK - I haven’t been able to do as much testing as I would like but the storing of the “\<machine><sharename>” issue isn’t fixed and I can’t see a work around.</sharename></machine>

• Reading back through the thread it looks like this isn’t going to be fixed. I’ll try and do more testing later this week.

• open up an wish in wishlist thread… it would be some new option to store drive letters and network locations i guess.

• Hi!
I have now tested using listfile with 2 rows in it and use the parameter -p (store relative path names). Here’s the result from that test using PACL 6.02

Content of Listfile_Doublerow.txt

Q:\Dokument\Amiga\*.pcx

Create the archive using -p parameter and the created listfile.


D:\PACL_Test>pacomp -a -p Test_PACOMP_ListDouble.zip @Listfile_Doublerow.txt
PowerArchiver Command Line (PACL) Version 6.02 [Oct 10 2010]
Archive Compression Utility – ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
Internet: http://www.powerarchiver.com Email: support@conexware.com

Archive: D:\PACL_Test\Test_PACOMP_ListDouble.zip
preparing to compress…

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

1 error(s) encountered

D:\PACL_Test>


Now with use of parameter -P (Store full path names)


D:\PACL_Test>pacomp -a -P Test_PACOMP_ListDouble.zip @Listfile_Doublerow.txt
PowerArchiver Command Line (PACL) Version 6.02 [Oct 10 2010]
Archive Compression Utility – ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
Internet: http://www.powerarchiver.com Email: support@conexware.com

Archive: D:\PACL_Test\Test_PACOMP_ListDouble.zip
preparing to compress…

All OK

D:\PACL_Test>

Test result: **NOT OK**

The same error happens with PACL 6.02 as with PACL 6.01

Kind Regards
Micke

• Hi!
Just finished testing archiving from shares. Here’s the result from the test of PACL 6.02

Content of Listfile_Machines.txt

\\TestPC\Public\PACL_Test\*.*
\\TestPC\Install\PACL_Test\*.*

Create the archive using a listfile


D:\PACL_Test>pacomp -a -r -P Test_PACOMP_MachineShare.zip @Listfile_Machine.txt
PowerArchiver Command Line (PACL) Version 6.02 [Oct 10 2010]
Archive Compression Utility – ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
Internet: http://www.powerarchiver.com Email: support@conexware.com

Archive: D:\PACL_Test\Test_PACOMP_MachineShare.zip
preparing to compress…

All OK

D:\PACL_Test>

List the contents of the created archive


D:\PACL_Test>paext -v Test_PACOMP_MachineShare.zip
PowerArchiver Command Line (PACL) Version 6.02 [Oct 10 2010]
Archive Extr.—ZIP,ZIPX,7Z,CAB,LHA,ARJ,RAR,ACE,TAR,GZ,BZ2,UUE,ZOO,B64,YENC,…
Internet: http://www.powerarchiver.com Email: support@conexware.com

Archive --> D:\PACL_Test\Test_PACOMP_MachineShare.zip [ZIP]

Name Length Method Ratio Size Date & Time CRC-32

PACL_Test\F1\FILE2.TXT
13852 DFLT-N 76% 3384 02-07-2010 01:20:02 84dfe51c
PACL_Test\F1\FILE3.TXT
5551 DFLT-N 66% 1915 02-07-2010 01:19:20 cbe8bb0a
PACL_Test\F1\FILE1.BAT
8230 DFLT-N 72% 2308 02-07-2010 01:18:18 716a3163
PACL_Test\F2\FILE2.TXT
13852 DFLT-N 76% 3384 02-07-2010 01:20:02 84dfe51c
PACL_Test\F2\FILE3.TXT
5551 DFLT-N 66% 1915 02-07-2010 01:19:20 cbe8bb0a
PACL_Test\F2\FILE1.BAT
8230 DFLT-N 72% 2308 02-07-2010 01:18:18 716a3163
PACL_Test\MANUAL.TXT
13852 DFLT-N 76% 3384 02-07-2010 01:20:02 84dfe51c
PACL_Test\F2\FILE1.TXT
8230 DFLT-N 72% 2308 02-07-2010 01:18:18 716a3163
PACL_Test\F2\FILE2.BAT
13852 DFLT-N 76% 3384 02-07-2010 01:20:02 84dfe51c
PACL_Test\F2\AILE3.TXT
5551 DFLT-N 66% 1915 02-07-2010 01:19:20 cbe8bb0a
PACL_Test\F2\FILE1.zip
4406 DFLT-N 1% 4377 03-13-2010 20:44:16 e555fa01
PACL_Test\F1\FILE3.BAT
5551 DFLT-N 66% 1915 02-07-2010 01:19:20 cbe8bb0a
PACL_Test\F1\FILE1.BAT
13852 DFLT-N 76% 3384 02-07-2010 01:20:02 84dfe51c
PACL_Test\F1\FILE2.TXT
8230 DFLT-N 72% 2308 02-07-2010 01:18:18 716a3163
PACL_Test\MANUAL.TXT
13852 DFLT-N 76% 3384 02-07-2010 01:20:02 84dfe51c

*Totals 15 142642 70% 43387 10-19-2010 21:56:00

D:\PACL_Test>

The result is the same as with 6.01\. I don't know if there's a option for storing \\machine\sharename in the path when creating a archive like this.

Kind Regards
Micke

• Thanks Micke for your excellent analysis - you beat me to it

• so compressing from network shares works, but it doesnt save share name?

• That’s correct. From what I can see PACL 6.02 behave and stores the path exactly the same as PACL 6.01.

Now usually this is not a problem as long as the paths are different in the list file. In these test only the sharename is different resulting in a problem when the rest of the path is exactly the same.

Personally I would like to have a parameter when using PACOMP that says store the <machinename>\ <sharename>in the path when creating archive. If the parameter isn’t used, then the result would be as it is now without storing <machinename>\ <sharename>in the path.

Kind Regards
Micke</sharename></machinename></sharename></machinename>

• Couldn’t you just treat the <machinename>and <sharename>as folders when in the zip? That way you wouldn’t need a parameter and would be compatible with all archive types. That would be cleaner.</sharename></machinename>

• thats how it is usually done - as part of the path, but it should be optional since not everyone wants to have it… it is drive letter and network share.

• it is drive letter and network share.

I don’t understand what you mean by this. Can you give me an example?

Thanks.

• Hi!

This is only my personal rendering of what spwolf wrote, so I may be wrong about this.
There are two occasions when this would be nice to have as an option

1. When you have 2 different driveletters with the same path in the list file. Something like this
P:\PACL_Test\Foldertest\*.*
Q:\PACL_Test\Foldertest\*.*

Since the path is exactly the same except for the drive letter the result will be the same as we have created using \\<machinename>\<sharename>\

2) When you have 2 different sharenames with the same path in the list file. Something like this


\TestPC\Public\PACL_Test\Foldertest*.*
\TestPC\Install\PACL_Test\Foldertest*.*

Micke</sharename></machinename>

• Micke, have you tried this in PACL 7.01 Beta?
How is it there?

• Micke, have you tried this in PACL 7.01 Beta?
How is it there?

No I haven’t tested this yet, but I can do some tests of it tonight.

The version I have is PACL 7.00 b1, but you talk about 7.01 beta. Does this mean there’s a 7.01 beta version avaliable?

Kind Regards
Micke

• Sorry, type-o on my end. 7.00b is the only one available.
Thanks!

• ok, so there will be -PP parameter now that will store drive/share names as well.

• Hello!
This is the result from testing creation of archive using \machinename\sharename.

Version tested: PACL 7.00 RC1
OS Version: Windows 7 Ent. Ed. 64-bit

Content of Listfile_Machine.txt

\\192.168.0.19\Public\PACL_Test\*.*
\\192.168.0.19\Install\PACL_Test\*.*



Then test creation of archive:

C:\Programs\NewTest>pacomp -a -r -PP Test_PACOMP_MachineShare.zip @Listfile_Mach
ines.txt
PowerArchiver Command Line (PACL)              Version 7.00       [Mar 22 2012]

Remainder: This is unregistered version of PACL. Please register at http://www.p
owerarchiver.com
Press <enter>to continue.

Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive: C:\Programs\NewTest\Test_PACOMP_MachineShare.zip
preparing to compress...

All OK

C:\Programs\NewTest></enter>


Everything looks normal, now lets the the content of the created archive Test_PACOMP_MachineShare.zip

C:\Programs\NewTest>paext -v Test_PACOMP_MachineShare.zip
PowerArchiver Command Line (PACL)              Version 7.00       [Mar 22 2012]

Remainder: This is unregistered version of PACL. Please register at http://www.p
owerarchiver.com
Press <enter>to continue.

Archive Extr.---ZIP,ZIPX,7Z,CAB,LHA,ARJ,RAR,ACE,TAR,GZ,BZ2,UUE,ZOO,B64,YENC,...
Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive --> C:\Programs\NewTest\Test_PACOMP_MachineShare.zip [ZIP       ]

Name            Length   Method   Ratio      Size      Date & Time      CRC-32
------------  --------  --------  -----  --------  ------------------- --------
\\192.168.0.19\Public\PACL_Test\F1\FILE2.TXT
13852    DFLT-N   76%       3384  02-07-2010 01:20:02 84dfe51c
\\192.168.0.19\Public\PACL_Test\F1\FILE3.TXT
5551    DFLT-N   66%       1915  02-07-2010 01:19:20 cbe8bb0a
\\192.168.0.19\Public\PACL_Test\F1\FILE1.BAT
8230    DFLT-N   72%       2308  02-07-2010 01:18:18 716a3163
\\192.168.0.19\Public\PACL_Test\F2\FILE2.TXT
13852    DFLT-N   76%       3384  02-07-2010 01:20:02 84dfe51c
\\192.168.0.19\Public\PACL_Test\F2\FILE3.TXT
5551    DFLT-N   66%       1915  02-07-2010 01:19:20 cbe8bb0a
\\192.168.0.19\Public\PACL_Test\F2\FILE1.BAT
8230    DFLT-N   72%       2308  02-07-2010 01:18:18 716a3163
\\192.168.0.19\Public\PACL_Test\MANUAL.TXT
13852    DFLT-N   76%       3384  02-07-2010 01:20:02 84dfe51c
\\192.168.0.19\Install\PACL_Test\F2\FILE1.TXT
8230    DFLT-N   72%       2308  02-07-2010 01:18:18 716a3163
\\192.168.0.19\Install\PACL_Test\F2\FILE2.BAT
13852    DFLT-N   76%       3384  02-07-2010 01:20:02 84dfe51c
\\192.168.0.19\Install\PACL_Test\F2\AILE3.TXT
5551    DFLT-N   66%       1915  02-07-2010 01:19:20 cbe8bb0a
\\192.168.0.19\Install\PACL_Test\F2\FILE1.zip
4406    DFLT-N    1%       4377  03-13-2010 20:44:16 e555fa01
\\192.168.0.19\Install\PACL_Test\F1\FILE3.BAT
5551    DFLT-N   66%       1915  02-07-2010 01:19:20 cbe8bb0a
\\192.168.0.19\Install\PACL_Test\F1\FILE1.BAT
13852    DFLT-N   76%       3384  02-07-2010 01:20:02 84dfe51c
\\192.168.0.19\Install\PACL_Test\F1\FILE2.TXT
8230    DFLT-N   72%       2308  02-07-2010 01:18:18 716a3163
\\192.168.0.19\Install\PACL_Test\MANUAL.TXT
13852    DFLT-N   76%       3384  02-07-2010 01:20:02 84dfe51c
------------  --------  --------  -----  --------  ------------------- --------
*Totals   15    142642             69%      44093  03-29-2012 22:04:06

C:\Programs\NewTest></enter>


Test Result: Success

Kind Regards
Micke

• Hello again!
Time for the same test again, but instead I will use 2 different network driveletters with the same path except for the driveletter.

Version tested: PACL 7.00 RC1
OS Version: Windows 7 Ent. Ed. 64-bit

Content of Listfile_Machines_Drive.txt

P:\PACL_Test\*.*
Q:\PACL_Test\*.*



Then test creation of archive

C:\Programs\NewTest>pacomp -a -r -PP Test_PACOMP_MachineShare_Drive.zip @Listfil
e_Machines_Drive.txt
PowerArchiver Command Line (PACL)              Version 7.00       [Mar 22 2012]

Remainder: This is unregistered version of PACL. Please register at http://www.p
owerarchiver.com
Press <enter>to continue.

Archive Compression Utility -- ZIP,ZIPX,7-ZIP,CAB,LHA,BH,JAR,TAR,GZIP,BZIP2
Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive: C:\Programs\NewTest\Test_PACOMP_MachineShare_Drive.zip
preparing to compress...

All OK

C:\Programs\NewTest></enter>


Everything looks normal, now lets the the content of the created archive Test_PACOMP_MachineShare_Drive.zip

C:\Programs\NewTest>paext -v Test_PACOMP_MachineShare_Drive.zip
PowerArchiver Command Line (PACL)              Version 7.00       [Mar 22 2012]

Remainder: This is unregistered version of PACL. Please register at http://www.p
owerarchiver.com
Press <enter>to continue.

Archive Extr.---ZIP,ZIPX,7Z,CAB,LHA,ARJ,RAR,ACE,TAR,GZ,BZ2,UUE,ZOO,B64,YENC,...
Internet: http://www.powerarchiver.com  Email: support@conexware.com

Archive --> C:\Programs\NewTest\Test_PACOMP_MachineShare_Drive.zip [ZIP       ]

Name            Length   Method   Ratio      Size      Date & Time      CRC-32
------------  --------  --------  -----  --------  ------------------- --------
P:\PACL_Test\F1\FILE2.TXT
13852    DFLT-N   76%       3384  02-07-2010 01:20:02 84dfe51c
P:\PACL_Test\F1\FILE3.TXT
5551    DFLT-N   66%       1915  02-07-2010 01:19:20 cbe8bb0a
P:\PACL_Test\F1\FILE1.BAT
8230    DFLT-N   72%       2308  02-07-2010 01:18:18 716a3163
P:\PACL_Test\F2\FILE2.TXT
13852    DFLT-N   76%       3384  02-07-2010 01:20:02 84dfe51c
P:\PACL_Test\F2\FILE3.TXT
5551    DFLT-N   66%       1915  02-07-2010 01:19:20 cbe8bb0a
P:\PACL_Test\F2\FILE1.BAT
8230    DFLT-N   72%       2308  02-07-2010 01:18:18 716a3163
P:\PACL_Test\MANUAL.TXT
13852    DFLT-N   76%       3384  02-07-2010 01:20:02 84dfe51c
Q:\PACL_Test\F2\FILE1.TXT
8230    DFLT-N   72%       2308  02-07-2010 01:18:18 716a3163
Q:\PACL_Test\F2\FILE2.BAT
13852    DFLT-N   76%       3384  02-07-2010 01:20:02 84dfe51c
Q:\PACL_Test\F2\AILE3.TXT
5551    DFLT-N   66%       1915  02-07-2010 01:19:20 cbe8bb0a
Q:\PACL_Test\F2\FILE1.zip
4406    DFLT-N    1%       4377  03-13-2010 20:44:16 e555fa01
Q:\PACL_Test\F1\FILE3.BAT
5551    DFLT-N   66%       1915  02-07-2010 01:19:20 cbe8bb0a
Q:\PACL_Test\F1\FILE1.BAT
13852    DFLT-N   76%       3384  02-07-2010 01:20:02 84dfe51c
Q:\PACL_Test\F1\FILE2.TXT
8230    DFLT-N   72%       2308  02-07-2010 01:18:18 716a3163
Q:\PACL_Test\MANUAL.TXT
13852    DFLT-N   76%       3384  02-07-2010 01:20:02 84dfe51c
------------  --------  --------  -----  --------  ------------------- --------
*Totals   15    142642             70%      43477  03-29-2012 22:15:58

C:\Programs\NewTest></enter>
`

Test Result: Success

Very good work on PACL 7.00. Looks like this is working as expected now.

Kind Regards
Micke