I’m trying to backup the complete contents of a directory using:
pacomp64 -parcz T:\BACKUP.PA C:\STUFF
The contents of subdirectories of C:\STUFF isn’t getting backed up!
The sub directories are just stored as empty directories!
How do I achieve this ; show me a command line example !
Hello @Mili,
thanks for your help in getting my PowerArchiver CommandLine license (Re: License Code Not Working / Missing) and sorry for my late reply. I do check my spam folder regularly and couldn’t find a mail from support. Also, there was no mail in my backups or any mention of it in my email logs.
I have a question regarding my licenses in the hope you are able to help me:
While my account lists “PowerArchiver Select - lifetime free upgrades and support for PowerArchiver Toolbox English - Count 2”, this does not apply for PACL, which was included with my purchase. My account shows only PowerArchiver Select - 12 months of upgrades and support for PowerArchiver Command Line - Single User License.
Since PACL was included with PowerArchiver Toolbox, shouldn’t PACL also come with a lifetime license for 2 PCs?
Thanks for your help in advance.
Version:
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 supportLatest format support and all the various engine updates done in PA 2017.
Full support for .PA format with many different options and switches.
Download:
http://dl.powerarchiver.com/2017/PACL900-170429.EXE
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
PA Team
ConeXware, Inc.
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.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.
Enter command:
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.
… Michael
Hi,
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.
0_1524826660985_pacomp.png
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).
would be nice to have czip support
Version:
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.Download:
http://dl.powerarchiver.com/2016/pacl800b1.exe
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 am Having Appcrash mid problem in my Pc.
Hi,
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 marks
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
Extracting only 1st file in a directory of archives
-
Hi guys, I have a problem:
I have a list of rar files in a folder, but I would like to have ONLY the 1st file in each rar to be extracted to a folder. The first file is designated by its name, which is not standard/constant throughout all of the rars. Basically, whatever the name is of the first file, I would like it extracted. Is there any way to direct paext to do such a thing? Thanks alot!
-
There is no “first file” in an archive.
How do you determine which is the “first file” you want to extract - by name (alphabetically) or by date (created, modified or … ) or by file size (largest, smallest) or some other way?
-
it would be first by name, sorry.
-
It may be possible to create a batch file to do this - but it would be non-trivial, my batch knowledge is not good enough :(
However, I just realised another problem with your scenario: you stated that these are rar archives. If they have been compressed as “solid” archives, then extracting a single file is not possible anyway, you always have to extract everything from a solid archive.
-
I have basic batch scripting experience, but I have been trying. Also, the rar’s are not solid, so it can be specified which files to extract.
So far, I have:
1. paext generating a list of the contents of each rar and outputting to a text file.
2. head.bat (a batch that reads in the 1st line from a text file) to send to another text file.
3. paext again to read in the first file name from the previous text file and extract only that file.
4. it does work, but what I need now is to somehow incorporate this process in a for loop so it’s done automatically to all rars in a directoryhere is my wack-ass code lol:
for /d %%X in (DIR) do call cc2.bat
[cc2.bat]
c:
cd c:\pacl
paext -v -d “DIR*.cbr” | find /i “.jpg” > x:\temp.txt && call x:\head.bat 1 x:\temp.txt > x:\firstfile.txt
paext -px:\temp “DIR” @x:\firstfile.txt
^-output directoryWhat happens is that it only extracts the 1st file from the 1st archive, i.e. it doesn’t go through all of the archives
-
Isn’t [for /d] working with folders and not files?
-
I also think you need to sort the list output (just in case) depending on required ouptut.
Something like:-
{For each cbr file call cc2}
for %%X in (DIR*.CBR) do call cc2.bat %%xand use passed variable in cc2 -
paext -v %x | sort > x:\temp.txt
call x:\head.bat 1 x:\temp.txt > x:\firstfile.txt
paext -px:\temp %x @x:\firstfile.txtNot sure what you are using find for??
-
find is to extract only the .jpg’s in the output from paext -v, as it gives other info in the output
-
Old thread I know, but I find the problem described here very interesting.
How do you determine which is the “first file” you want to extract - by name (alphabetically) or by date (created, modified or … ) or by file size (largest, smallest) or some other way?
it would be first by name, sorry.
The problem here is that like TBGBe says there are no first file in the archive. Infina, you say that it would be first by name, but the problem is that you don’t know which file that will be first in the list, resulting in that the name of the file won’t matter if it’s always the first file in the file list of the archive.
If the name would be the first name in alphabetical order, then you would have to read the whole file list from the archive and then sort the names in alphabetical order to find the file name that would be the first file in this case.
The next problem is that an archive can have multiple files with same name, but in different folders. If that happens, which file would be the first to extract?
If you always are going to extract the first file that is in the file list of the archive, how do you know that it’s the correct file?
Example: first add the file Z-TEXT.txt to Archive Test.zip and then add the file A-TEXT.txt to the same archive.
If I then list the contents of Test.zip the file Z-TEXT.txt will appear first in the list, but how do you know that this is the correct file and not A-TEXT.txt
The functionality you are asking for can be fixed, but not without your definition of “first file”.
Kind Regards
Micke -
And don’t forget the possibility of same name with different file extension e.g. Z.txt, Z.jpg, Z.ini (etc)