I want to extract .cab files using C++ when extraction finishes i want the extract .exe to run how can i do this?

I dont get this i tried it i dont know how to change the file i dont 2 extract i colulnt find the code can u explain!

Okay i figured out how to extract the file i wanted to the place i wanted but after the extraction i want extracted .exe to run and i try to put this code

system("C:\\file\\location.exe");

and i also include iostream but still dont work there is somepalces it works but after extracted each file it tries to run program when .exe is extracted then it runs is if u shut the .exe it runs again so where should i put the code?

Edited 5 Years Ago by emreozpalamutcu: n/a

I done it yesssssssssssssssss now i need to solve the console app cause when the other program starts console app still there

lol thanks it took long it just that i dont know how to end the console app cause when the other program starts up the console app stays when i close the other app console app closes.. What is the code to shut the console up?

can you just tell me what to write to creat process i cant be bothered reading now im tired :S

Go to bed, get some sleep, then work on it tomarrow when you have a fresh mind. Afterall, if you can't be bothered to study that link that I can't be bothered to tell you how to do it.

Edited 5 Years Ago by Ancient Dragon: n/a

I realise something this cab extractor doesnt extract the sub folders??? how to extract sub folders???

This article has been dead for over six months. Start a new discussion instead.