Your question is very vague, but I’m going to take a stab at interpreting it and answering it. I’m not sure if you’re even using Linux, as you seemingly want to examine a .exe without extracting it.
From what it looks like, you’re wanting to see the contents of a .rar file without actually extracting it. You mentioned a command, but you don’t really need one. If you want to play with .rar files in the terminal, there actually is a WinRAR for Linux.
However, there are multiple GUI applications that enable Linux users to open .rar files without extracting them. In this case, I’ll go ahead and recommend “Archive Manager for Gnome”, which used to be known as “File-Roller”.
Chances are good that it’s already in your default repositories, regardless of distro, and that it can be installed with your package manager – which you didn’t mention, so I’m just going to assume it’s Apptitude.
sudo apt install file-roller
Once installed, you can use it to open a .rar file on Linux without extracting the file inside. I recommend the above linked application. It’s for Gnome, but doesn’t pull in a lot of dependencies and should work well regardless of desktop environment.
If you do go the route of installing WinRAR for Linux, that’s pretty easy as well. You can simply use the
l switch and it will list the files inside the archive. It looks like this:
rar l filename.rar
You can read all about it in
rar.txt included in the download.