I have a zip file which i need to create a exe file. so i convert the zip into the exe using the 7z sfx. But when i run the exe it asked me to where to archive. i dont want to choose the location. i want to give the location path to my USB pen drive.
copy /b 7z.sfx + config.txt + spire.7z mysetup.exe
This is the command which i use to create the exe file.
I want to create a exe that hold my zip file and when i run the exe, it should just open a cmd and start the extraction into my USB pen drive. I dont want any 7z archive popups to choose the path.