Solved

WinRar SFX path parameter help

Posted on 2012-04-09
4
1,138 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Today companies are subjected to more-and-more data, and it won't stop any time soon.  But there are obvious opportunities for reducing data, particularly data duplicated among companies.
Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

691 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