Jump to content
Sign in to follow this  
notime

[help]extract WinRAR with password

Recommended Posts

notime

  hi every body :bye:

 how can extract WinRAR with password

ShellExecute(@ProgramFilesDir&"\WinRaR\WinRaR.exe","c:\users\mypic\photo.rar")

 

Share this post


Link to post
Share on other sites
water

I'm sure WinRaR supports command line parameters.

Edited by water
  • Like 1

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2018-09-01 - Version 1.3.4.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
notime

password is "14741"

 i want command line parameters.
                   

 

ShellExecute(@ProgramFilesDir&"WinRaRWinRaR.exe","c:usersmypicphoto.rar")

 

Share this post


Link to post
Share on other sites
water

Does the command line billo provided work for you?

Just open a CMD window and test. If it works it is easy to make it work with AutoIt.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (2018-06-01 - Version 1.4.9.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2018-09-01 - Version 1.3.4.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
 
Tutorials:

ADO - Wiki

 

Share this post


Link to post
Share on other sites
notime

Sure does. And to extract you will need Unrar.exe

check the docs in the Winrar dir

probably look soemthing like this

unrar x -ppassword *.rar

 

Bill

work with cmd

but i cant use this   

unrar x -ppassword *.rar

with

 

ShellExecute(@ProgramFilesDir&"WinRaRWinRaR.exe "  , "c:usersmypicphoto.rar")

 

 

Share this post


Link to post
Share on other sites
Chimp

Hi notime, try with this sintax:

WinRar.exe x filename.rar -pYourPassword

password goes after the filename
no space between -p and password itself

  • Like 1

small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Share this post


Link to post
Share on other sites
notime

Hi notime, try with this sintax:

WinRar.exe x filename.rar -pYourPassword

password goes after the filename

no space between -p and password itself

Pinco Panco :robot:

Pinco Panco :dance:

Pinco Panco :thumbsup:

Pinco Panco  :bye:

this is work

thanks

Share this post


Link to post
Share on other sites
Chimp

:)

p.s.

... in a command prompt within the winrar directory, type winrar /? to see all command line options...

bye


small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×