PACL 9.00 Beta 2
What’s New since version PACL 7:Updated to PowerArchiver 2017 engine Fully unicode interface RAR v5 (v4) support PAE2 support
Latest format support and all the various engine updates done in PA 2017.
Full support for .PA format with many different options and switches.
Due to the support of new PA format and all the changes needed for that support, we decided to move up version number to PACL 9. This is purely cosmetical - companies who purchased PACL8, have PACL9 now added to their orders. Users who have free upgrades for PACL8, now have PACL9 added as free upgrade (Business users with active select (pro/tbx), all personal users (pro/tbx).
Since we are finalizing PA 2017, we can also now spend a lot more time on PACL9.
Please check your bugs, and check .PA support as well.
Thank you! @Alpha-Testers
My OS: Windows XP Home Edition, SP3
The version number and date of the program: PowerArchiver Command Line v9.00b [Feb 23 2019]
The program not extracts one self-extracting file.
How to reproduce the problem
Download the SFX file by link: install.exepaext32 -o+ -p"install" "install.exe"
Copy the “install.exe” file into the same location as the program is located.
Go to the DOS prompt. Make your PACL location the default drive.
If it is on the E drive enter the command E: and press enter. Replace “E:” with the appropriate drive letter.
Enter command cd e:<path name> to go to the location where the program resides.
As a result, the “install” directory will not be created and no
files will be extracted.
The “install.exe” file may be damaged but if you use a program such as 7-Zip or PeaZip to extract the files, the extraction process is successful. I want the PACL to also unpack such a file.
This problem is very critical for me. I often come across this. I do not want to resort to using other compression program.
there’s a problem with PAComp and file names with a leading ".\ ".
That’s nowadays a problem, since PowerShell auto complete will complete a file test.zip in the current directory to .\test.zip.
The first command reports “All OK”, but test.7z is not created.
The second command reports an error, but the error message isn’t helpful at all. VSS doesn’t help anything if a program fails to write to a file. It’s for reading locked files… And the problematic file isn’t mentioned at all. By the way, there’s a typo, it should be “open”, not “opet”.
Only the third command (without ".\ ") works as expected.
The problem exists in the x86 and x64 version, it doesn’t matter if the archive already exists (updating) or not (creating a new archive).
PACL 8.00 Beta 1
Whats New:Updated to PowerArchiver 2016 engine Fully unicode interface RAR v5 (v4) support PAE2 support Latest format support such as improved ZIPX, ISO, etc, etc, etc.
Please test it against your existing scripts and let us know. There will be some features added in future release as well as more testing.
This is first release, please test. Thank you!
I’ve made changes to fix some problems with PAConv.bat:
1. Replaced the “” by () in the first two lines, so that it’ll work with command line arguments in quotation marksif (%1)==() goto help if (%2)==() goto help SET PATMPDIR=%TEMP%\$PATEMP$.%time::=% if exist "%PATMPDIR%" rmdir /s /q "%PATMPDIR%" mkdir "%PATMPDIR%" paext -e -d -p"%PATMPDIR%" "%~1" echo. pacomp -a -r -p -w "%~2" "%PATMPDIR%\*.*" echo. rmdir /s /q "%PATMPDIR%" SET PATMPDIR=
2. Replaced deltree with rmdir, since deltree is unknown at least in Windows XP and later
3. Also replaced the del command, which left an empty $PATEMP$ directory with rmdir
4. Changed $PATEMP$ to “%TEMP%$PATEMP$.%time::=%”, so that no write privileges are needed in the current directory as the users Temp directory is used and that more operations will work simultaneous, as long as they are not started at the very same time.
5. Changed %n to “%~n” to allow parameters with spaces and quotation marks
I spent many hours trying to figure out how to use PACOMP to add about 50 Gb to a spanned 7z archive with AES256 encryption, and have yet to be successful.
I’ve tried every combination of switches I can think of, with no success. Can someone offer a combination of switches that is known to work for this kind of task?
All I have been able to make is a set of spanned files that PA cannot open.
I am trying to understand what is default encryption method for PACOMP -fips command?
And what is the difference if you specify encryption method using e[0,1,2] command?
Using only FIPS:
pacomp -a -ssecret -fips -p stuff.bh “c:\my stuff*.*”
FIPS combined with e2
pacomp -a -ssecret -fips -e2 -p stuff.bh “c:\my stuff*.*”
I have archive that holds password protected, encrypted data which is created using something like this:C:\Temp\ZipTest>pacomp -a -spassword -fips -e2 archive.zip "C:\Temp\ZipTest" -x"C:\Temp\ZipTest\ReadMe.txt"
Then I add regular file into that archive which is not encrypted and not password protected. “ReamMe.txt” sort of file. Using command below.C:\Temp\ZipTest>pacomp -a archive.zip "C:\Temp\ZipTest\ReadMe.txt"
Now when I extract this archive using:paext -spassword -p"C:\ZipTest\Temp" archive.zip
Everything extracts correctly except for ReadMe.txt file. File is present but content is empty.error: extracting: ReadMe.txt --> CRC ERROR! [100%]
I get following
How can I extract archive without corruption ReadMe.txt file?
Does PA (preferably the CL version) have the facility to archive files based on an age?
(I want to be able to move a quantity of files out of a folder and into an archive if (and only if) they’re over 35 days old.
I have an ancient copy of ARJ that can do this (via the -odb switch) but I’d like to use PA, and can’t work out if it’s possible.
Hi in pacomp.vbs by Micke how to preserve the folders structure of the files to compress.:confused: because just compress the files not the folder structure of each file.
thanks'******************************************************************* '* PACOMP.vbs '* @author: Micke '* @hist 2010-02-26 CREATED:Script for compress multiple file types '* @hist 2010-03-01 BUGFIX: Space in path or filename resulted in '* no archive was created. '* '* Script for compress multiple file types '* '* Usage: cscript PACOMP.vbs ArchiveName.extension DrivePath '* Example1: cscript PACOMP.vbs C:\Temp\MyArchive.zip D: '* Example2: cscript PACOMP.vbs C:\Temp\MyArchive.zip D:\Temp '* '******************************************************************* Option Explicit 'Variables Dim FSO, objDir, aList, FileExtension, ArchiveName, DrivePath Dim aFile, aItem, strCompressionString, WshShell 'Constants (Change path to your own enviroment) Const PACOMP = "C:\Programs\PACL\PACOMP.exe" 'Check number of arguments If WScript.Arguments.Count <> 2 Then WScript.Echo "Usage: cscript PACOMP.vbs ArchiveName.extension DrivePath" WScript.Echo "Example 1: cscript PACOMP.vbs C:\Temp\MyArchive.zip D:" WScript.Echo "Example 2: cscript PACOMP.vbs C:\Temp\MyArchive.zip D:\Temp" 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) DrivePath = WScript.Arguments.Item(1) 'Get the Folders for the DrivePath Set objDir = FSO.GetFolder(DrivePath) 'Create a Array with Fileextensions for the archive, change to your enviroment aList = Array("png", "jpg", "avi") 'Search through the folders SearchFolders(objDir) 'Sub for Searching recursive in Folders Sub SearchFolders(pstrCurrentPath) For Each aFile In pstrCurrentPath.Files For Each FileExtension In aList If FileExtension = LCase(Right(CStr(aFile.Name), 3)) Then AddFileToArchive aFile.Path End If Next Next For Each aItem In pstrCurrentPath.SubFolders SearchFolders(aItem) Next End Sub Sub AddFileToArchive(pstrFileName) 'Create the string with parameters for PACOMP strCompressionString = PACOMP & " -a -P " & Chr(34) & ArchiveName & Chr(34) & " " & Chr(34) & pstrFileName & Chr(34) WScript.Echo strCompressionString WshShell.Run strCompressionString, 0, True End Sub
Permission issue on ZIP file after using PACL in XP Mode
On my host system, I am using Windows 7 Enterprise 64-bit. It is fully updated. I have PowerArchiver 2010 Free (v11.63.12) installed. I also have the latest version of PACL (v6.01) installed.
So that I can still use some old 16-bit DOS programs, I have XP Mode installed. On it, I have PACL v6.01 installed as well (thought I DON’T have the windows program [PowerArchiver 2010] installed on it).
I also have the C drive of XP Mode mapped to the Z drive of my host machine, allowing me to access files from the XP Mode machine from a drive letter on my host machine.
Now for the problem–anytime I compress a file in XP Mode using PACL, I am not able to access it from the Host machine. Two examples: (1) if I open up the XP Mode drive in an explorer window of the host machine and double click on the newly created ZIP file, it will open PowerArchiver 2010, but the contents will be blank, (2) if I attempt to attach the newly created ZIP file to an email (in Thunderbird), I get a message saying, “You don’t have permission to open this file.”
I should point out that this seems to happen ONLY to files created with PACL (and only those created in XP Mode). I used to use PKZIP for DOS v2.50 to compress files from the command line. I gave it a try in XP Mode, and it allows me to do all of the above to which PACL created files are giving me issues. I also have used PACL on the host machine, and, again, no issues.
Any advice would be extremely appreciated!
what are the user permissions on those files that wont be opened? Can you change them by using file property in Windows Explorer?
Spwolf–you are a genius. My XP Mode is not joined to a domain, thus “Simple File Sharing” was enabled by default. As a result, I didn’t have a Security tab when looking at the properties for the shared drive. And it didn’t even occur to me to enable it until I read your post.
So I disabled “Simple File Sharing,” went to the Security tab for the shared drive, and changed the needed permissions. And it worked. Thank you.
Just curious, though, why would the lack of appropriate permissions affect ZIP files created with PACL but not, for example, those created with PKZIP for DOS?
probably for some compatibility reasons with old programs, I am not sure myself. But that was the first area I would look at… thanks!
I hate to bring this up again, but I’m experiencing the same problem in XP Mode again. I’ve figured out that when I change the security permissions, it effects only files already on the XP Mode hard drive, not those created after setting the permissions.
So, in other words, since I’ve already set the permissions to allow me access to the files, if I create a new file using PACL, I then have to set the permissions yet again to be able to access that file from the host machine. And I would have to do this after every new file I create.
I would normally think this is a Windows issue (since it deals with security and permissions); however, files created with PACL seem to be the only ones affected (not even ZIP files created with PKZIP for DOS are affected). So I’m hoping someone here would be able to shed some light on how to solve this.
I think I finally figured it out…
A friend of mine suggested the following for the security settings in XP Mode:
"Is inherited permission under security, advanced? perhaps it lost the inher. permissions and the rights aren’t “trickling” down. "
It worked. Yay!!!
basically user that accesses the drive, should be able to access files created by the “user” that is creating the files. I personally set it up so they use that is accessing the drive is same username as user on that XP Mode OS.
I dont think it is anything other than files being owned by another user. Something that application working in 16 bit compatibility mode might not set properly at all.
ah you figured it out… as we europeans would say, Super!