Solved

WinRar SFX path parameter help

Posted on 2012-04-09
4
1,092 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
Healthcare organizations in the United States must adhere to the guidance of both the HIPAA (Health Insurance Portability and Accountability Act) and HITECH (Health Information Technology for Economic and Clinical Health Act) for securing and protec…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
An overview on how to enroll an hourly employee into the employee database and how to give them access into the clock in terminal.

860 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