Jump to content

Recommended Posts

Posted

Hello AutoITers,

I grab a file from an HTTPS server and store it locally on the machine running my script. Then I would like the 7zip command line to extract it.

My typical problem is that I cant seem to get the RunWait coded properly to execute the 7zip command point it at the zip file and have it unzip to a folder....

RunWait("7za.exe e -o " & @DesktopDir & "\My Folder" & " " & @DesktopDir & "\My Folder\archive.zip", "",@sw_hide)

the proper command line for 7Zip is:

7za e -o "OUTPUT DIRECTORY" "PATH TO ZIP INCL FileName"

my output directory is: @DesktopDir & "\My Folder" ( desktop of current user, folder called My Folder )

Zip is located in: @DesktopDir & "\My Folder\archive.zip" ( desktop of current user, folder called My Folder )

I cannot seem to get this working :) and I know that the issue is in my RunWait command... Usually just a quote/single quote issue but I can for the life of me get this to work!

thanks!

Jeff

Posted

RunWait('7za.exe e -o "' & @DesktopDir & '\My Folder" "' & @DesktopDir & '\My Folder\archive.zip"', "",@sw_hide)oÝ÷ ÚÚºÚ"µÍÌÍÜÝ[ÈHÝ[ÑÜX]
    ÌÎNÍÞK^HH[È    ][ÝÉÉ][ÝÈ  ][ÝÉÉ][ÝÉÌÎNËÚÝÜ [È ÌÎNÉÌLÓ^HÛÌÎNËÚÝÜ   [È ÌÎNÉÌLÓ^HÛÌLØÚ]K   ÌÎNÊB[ØZ]
    ÌÍÜÝ[Ë ][ÝÉ][ÝËÝ×ÚYJ

Posted

Works! Thanks!!

Is there anything I can read up on to show me the proper Quote order for the Run Command? Basic Runs are fine, but the command line level are terribly confusing to me!

thanks WeaponX!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...