Is there a way to extract a self extracting exe from commandline in windows?
I have a self extracting exe which is of type RAR. I want to extract the contents of this RAR only with the help of windows and not using any other tools (like 7zip, Unrar etc) which helps to extract. Also, I want to do it from the command line only.
Are there any utilities in windows which I can use to extract the self extracting exe file from commandline?
You might be able to get the self-extacting RAR archive to do what you want with one or more of the following RAR SFX (self-extracting archive) options:
GUI self-extracting modules support following command line switches:
-d<path> set the destination path -p<pwd> specify a password -s silent mode, hide all -s1 same as -s -s2 silent mode, hide start dialog -sp<par> specify parameters for setup program
I'm not sure if any of these options will suppress running a setup program that the SFX is configured to run.
Download UnRar for windows (freeware) from this link. It in itself is a self extracting archive, which when installed will give you the actual unrar.exe. You can then use unrar.exe to extract files from the command line.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With