Command line useage



  • This is from the help file:

    Extracting an archive:

    POWERARC -e filename.ext
    –> extracts “filename.ext” to current directory

    POWERARC -e filename.ext “full_path_where_to_extract”
    –> extracts “filename.ext” to directory specified as third parameter

    POWERARC -es filename.exe
    –> extracts “filename.exe” to subfolder named ./filename/

    POWERARC -et filename.exe
    –> starts dialog where user can select folder for extraction

    The problem is when I use POWERARC -es testrar.rar, it does not make the folder testrar and extract to it, instead it extracts to the current directory.

    When extracting too many at the same time I get false extract errors. I just want to send extract commands to a simple gui for queued extraction. I’d prefer the gui remain visible when there’s a problem, and disappear when there isn’t. I think PA will do this….

    This works: POWERARC -e testrar.rar c:\temp\test\testrar

    This does not work POWERARC -e testrar.rar .\testrar

    So I have the extract part working, but it is NOT queuing, it is opening a new window for each extract.


  • conexware

    you need to use PACL for that…



  • @spwolf:

    you need to use PACL for that…

    PACL manual doesn’t say anything about queuing.


  • conexware

    by the definition, when you write bat file to execute several actions, they are done sequentially, so “queued”.



  • The bat file is called from the context menu, so it get’s the path. It does several things, then calls winrar and exits.

    So, PA will queue but GUI operations.
    PACL does not queue at all.

    Is there some way to accomplish this?



  • @Bugglers:

    The bat file is called from the context menu, so it get’s the path. It does several things, then calls winrar and exits.

    Sorry I don’t understand this. Can you show us the batch file you are trying?

    P.S. I promise not to criticise for using WinRar instead of PowerArchiver 😃



  • "c:\program files (x86)\powerarchiver\POWERARC.exe" -e "%%a" %1"!desti!"
    
    rem Works with WINRAR: start winrar x "%%a" * "!desti!"
    
    

    Batch coding has become quite obnoxious with the quotes and the % and the !.

    Win7 x64 btw.

    The script is called from the context menu. I’ve got it setup so I can right click on the folder and press 1 to make it find the rar and send it to the batch to extract and such.

    I could do more dde type passing, just hoping to find something to work with what I have already.



  • Ah, you’re still trying to use PowerArchiver.
    spwolf was saying to use Batch file with PACL instead.

    Something like

    FOR %i IN *.rar DO paext %i

    Of course you can use parameters to Batch file to allow choosing folders/archives etc.


  • conexware

    i think he is calling separate actions, so how do you queue that?

    you have to use PA2010 and PA starter.



  • @TBGBe:

    Ah, you’re still trying to use PowerArchiver.
    spwolf was saying to use Batch file with PACL instead.

    Something like

    FOR %i IN *.rar DO paext %i

    Of course you can use parameters to Batch file to allow choosing folders/archives etc.

    spwolf
    i think he is calling separate actions, so how do you queue that?

    you have to use PA2010 and PA starter.

    Right, I’m not trying to extract multiples from the same folder.

    Whats’ this PA starter?



  • A batch-queue wont work for me because it doesn’t know when there was a problem with the extract, so it will wait forever.

    It needs to use the GUI queue that’s smart enough to continue on to the next extract.



  • @Bugglers:

    Right, I’m not trying to extract multiples from the same folder.

    Whats’ this PA starter?

    PA starter is the PowerArchiver Queue.
    If you did not enable it on install then it can be activated using the QUEUE under Options/Configuration menu.


  • conexware

    @Bugglers:

    This is from the help file:

    The problem is when I use POWERARC -es testrar.rar, it does not make the folder testrar and extract to it, instead it extracts to the current directory.

    When extracting too many at the same time I get false extract errors. I just want to send extract commands to a simple gui for queued extraction. I’d prefer the gui remain visible when there’s a problem, and disappear when there isn’t. I think PA will do this….

    This works: POWERARC -e testrar.rar c:\temp\test\testrar

    This does not work POWERARC -e testrar.rar .\testrar

    So I have the extract part working, but it is NOT queuing, it is opening a new window for each extract.

    simply enable PA Queue option in Config> Queue… this is what you want!



  • The queue checkbox wont stay.

    When I reopen the config menu, it’s unchecked.



  • i would like to see pacl intergrated into powerarchiver can be done irfanview has done it


  • conexware

    @Bugglers:

    The queue checkbox wont stay.

    When I reopen the config menu, it’s unchecked.

    you need to start PAStarter.exe, maybe you keep turning it off? It is responsible for running the queue.



  • It doesn’t queue even with the system-tray “always queue” checked.

    What’s up with entering a Captcha every post?


  • conexware

    keep in mind default minimum for queue is 9 MB, so try larger files or decrease the limit to 0.


  • conexware

    (In config> queue)



  • @spwolf:

    (In config> queue)

    Yes, that is what I used before. In the main interface, it’s Options, Configuration, Queue (std), “Always use queue”

    It will not stay checked.

    I check the box, press OK, Options, Configuration, Queue (std), and observe it is unchecked again.

    Note that after doing this, the system-tray PA Starter Always-Queue option is now unchecked.

    The “Don’t queue files smaller than” is set to 20mb.

    Kinda buggy…



  • Also, the size option allows going below 9mb limit, right down to - #s.


  • conexware

    what version of PA do you have? You can check in Help> About.

    thanks!



  • 11.63.12



  • I updated to 11.71.04 and it is now remembering when I check the box.



  • Now it prompts on every extract to agree to the terms.

    And it does not queue.


  • conexware

    yeah, free version doesnt have queue…

    … what is supposed to happen is it should add files over 20 MB to the PAStarter Queue (you can see it there), and execute them sequentially (so no 10 at once, only 1 by 1).



  • @spwolf:

    yeah, free version doesnt have queue…

    … what is supposed to happen is it should add files over 20 MB to the PAStarter Queue (you can see it there), and execute them sequentially (so no 10 at once, only 1 by 1).

    It wasn’t queuing anyway.

    And after I adjusted the minimum size from 20mb to 9mb, it doesn’t work from the prompt. It asks me twice to agree to the terms, then nothing.

    OIC free version doesn’t have queue.
    OIC free version doesn’t have queue.
    OIC free version doesn’t have queue.
    OIC free version doesn’t have queue.

    It should be grayed out then.


  • conexware

    does it work when you do it via PA shell extension for instance?



  • The REGISTERED version does NOT queue from command line calls.

    The program is buggy and should be free until it is out of alpha.


  • conexware

    @Bugglers:

    The REGISTERED version does NOT queue from command line calls.

    The program is buggy and should be free until it is out of alpha.

    command line is not officially supported ever since PACL was out, which is why we did not test it forever now :-).

    But we could add support in upcoming PA 2011.



  • @spwolf:

    command line is not officially supported ever since PACL was out, which is why we did not test it forever now :-).

    But we could add support in upcoming PA 2011.

    Also make the cancel confirmation be “are you sure you want to cancel” instead of “do you really want to continue” because you are doing the reverse of the norm, which is irritating.

    And don’t leave behind partially extracted files, which is the current default. This makes it look like the file was extracted when it really was not. This is probably an option, IDK and IDK, it should not be this way by default.

    And finally, the options/conf buttons are arranged OK,CANCEL,HELP. This should be HELP,CANCEL,OK. Of course, you probably wont do this, but then I probably wont pay for such a mess.


  • conexware

    @Bugglers:

    Also make the cancel confirmation be “are you sure you want to cancel” instead of “do you really want to continue” because you are doing the reverse of the norm, which is irritating.

    And don’t leave behind partially extracted files, which is the current default. This makes it look like the file was extracted when it really was not. This is probably an option, IDK and IDK, it should not be this way by default.

    And finally, the options/conf buttons are arranged OK,CANCEL,HELP. This should be HELP,CANCEL,OK. Of course, you probably wont do this, but then I probably wont pay for such a mess.

    for any other suggestions, please open an thread in wishlist forums, so other users can see it and tell us what they think about it. One wish per thread please.

    My opinions:

    • We cant really change order of buttons unless many users confirm they want it. Not to mention that I have just checked 3 other popular compression utilities and none of them have it in order you want (2 of them are same as PA and 1 is different)
    • We have “continue” instead of “cancel” on purpose. This is because most users click on Yes automatically, without even reading the prompt and that may lead to accidental loss of data if they are overwriting something.

    And please keep in mind we have stopped supporting command line in PowerArchiver 7-8 years ago. We just did not want to remove it completely in case someone was using it. If we add support for queue, it will be solely for your use as nobody has ever requested that.



  • POWERARC -es testrar.rar … when ever i open it what should i do
    technology


Log in to reply
 

  • 4
  • 5
  • 6
  • 10
  • 18
  • 3
  • 3
  • 3