Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

WinRar SFX path parameter help

Posted on 2012-04-09
4
Medium Priority
?
1,180 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.
An overview on how to enroll an hourly employee into the employee database and how to give them access into the clock in terminal.

604 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