Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1228
  • Last Modified:

WinRar SFX path parameter help

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
hassanayoub85
Asked:
hassanayoub85
  • 3
1 Solution
 
wasiftoorCommented:
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
 
hassanayoub85Author Commented:
I know this sir,
What I want is to pass the path as parameter.
0
 
hassanayoub85Author Commented:
just know it, it is -cpath
0
 
hassanayoub85Author Commented:
Found the solution myself
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now