A want to unzip a file using script in .ahk. Somebody to help me?
tks
Unzip ("C:\Users\Ricardo\Desktop\Add_Polo_Plano.zip", "C:\Bots\Add_Polo_Plano")
But, it dosen't work.
That's because the unzip function never existed, you would have to create one by adding this:
Unzip(Source, Destination)
{
RunWait PowerShell.exe -NoExit -Command Expand-Archive -Path '%Source%' -DestinationPath '%Destination%';exit,%A_scriptDir%, Hide
}