Solved

WinRar SFX path parameter help

Posted on 2012-04-09
4
1,105 Views
Last Modified: 2012-04-14
Dear all,
I created a sfx file with winrar to run silent and overwrite all files.
I want to control the path by a parameter which i pass to the sfx.exe.
So like, sfx.exe -path=c:\archive, so it will run and install files in this path,
How can I do that?
Thx
0
Comment
Question by:hassanayoub85
  • 3
4 Comments
 
LVL 9

Expert Comment

by:wasiftoor
ID: 37824296
You can create the SFX in the method shown in the following link (you can specify the path on your own as well as the overwrite all switch)

http://www.jackmccarthy.com/malware/WinRAR_Archive_Creation.htm
0
 

Author Comment

by:hassanayoub85
ID: 37824391
I know this sir,
What I want is to pass the path as parameter.
0
 

Accepted Solution

by:
hassanayoub85 earned 0 total points
ID: 37825589
just know it, it is -cpath
0
 

Author Closing Comment

by:hassanayoub85
ID: 37845968
Found the solution myself
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Image Deployment Tool 9 96
Cannot load device driver, error code 39 25 201
Bulk Reorder File Names 4 73
Disk Imaging software for desktop support operations 7 94
This article describes how to use the timestamp of existing data in a database to allow Tableau to calculate the prior work day instead of relying on case statements or if statements to calculate the days of the week.
If your app took Google’s lash recently, here are the 5 most likely reasons.
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question