• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1199
  • 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

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.

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