Well i would like to open a .RAR file or a .CAB and just read the files in it.
then if i have a password i would like to give it in a text box and it should open my .RAR file in the background.
that is the basis.
i just want that my program is not in a .jar file but in a rar file...
so i have a files.rar and a run.exe
in the files.rar are the files that i must run from the run.exe
so i just klick on the run.exe and if i would have a game in the files.rar it should run a file that starts the game.
what i need from you:
i need the code that opens the .rar files and runs the .exe in it...
but the rar file has pa password...
public class RarOpener
{
private String password = "test";
public void opener()
{
//open rar with password = "test"
run();
}
public void run()
{
//run a specific .exe file in the rar file...
}
}
i hope you understand me. sorry for my bad english.
i don't know if its possible but u are the master...
thx