Software & Apps > File Types What Is an EX_ File? Decompressing EX_ files into EXE executable files By Tim Fisher Tim Fisher Facebook Twitter Senior Vice President & Group General Manager, Tech & Sustainability Emporia State University Tim Fisher has more than 30 years' of professional technology experience. He's been writing about tech for more than two decades and serves as the VP and General Manager of Lifewire. lifewire's editorial guidelines Updated on July 9, 2021 Tweet Share Email Tweet Share Email File Types File Types Apps Windows MS Office Linux Google Drive Backup & Utilities Design Cryptocurrency A file with the EX_ file extension is a compressed EXE file. This format stores an EXE file with a smaller size to save storage space. You might also find the EX_ format within compressed installation files that you download from the internet. Windows can't execute an EX_ file. For example, you can't accidentally open an EX_ file to run the program until the file extension is renamed to EXE. Take great care when opening executable files. These files can be extremely dangerous to your system, personal data, and overall security. Never open an executable file sent to you over email or that you don't know explicitly what it does. How to Open an EX_ File You'll first need to convert the EX_ file to an EXE file before you can run the file. You can do that with the expand command from the Windows Command Prompt. How to Open Command Prompt (Windows 11, 10, 8, 7, etc.) However, for this command to work, you have to make sure Command Prompt is working in the correct folder. After opening Command Prompt, use the dir command to change the directory to the one that has the EX_ file. Then, enter this command, substituting file.ex_ with the name of the EX_ file you want to expand (the second file.exe is the name you want to give the expanded file): expand file.ex_ file.exe The new EXE file will be created as named. No changes will be made to the original EX_ file. Another option for entering the expand command is to open Command Prompt and type expand followed by a space. Then, drag the EX_ file to the Command Prompt and drop it. This trick automatically fills the location and name of the EX_ file. Still Can't Open the File? If your file won't open at this point, make sure you're really dealing with an EX_ file. Some file extensions look really similar, and if you confuse another file for one that ends in EX_, and try to open it like you read above, it probably won't work at all. Some examples of similar file extensions include EX4, EXO, EXP (Symbols Export), and EX (Euphoria Source Code). If you have any of those files, you'll probably need a different program on your computer in order to open/edit/convert it. FAQ Are EX_ files dangerous? They can be. Like .EXE files, if you download an EX_ file from the internet, it could contain a virus or other malicious software. One way to tell if a file is legit or not is the file name. If you see an ._ex file extension instead of .ex_, it could be spyware. Make sure the files you download are from a source you trust. How do you run an .exe file in Command Prompt? First, locate the file path of the folder containing the .exe file. For example, if it's in the Downloads folder, the file path might be something like "C:\Users\chesh\Downloads." Open the Command Prompt and type in cd [filepath], replacing [filepath] with the location of your .exe file. Press Enter. Once you're in the right location, type start [filename.exe] and press Enter to run the executable file. Was this page helpful? Thanks for letting us know! Get the Latest Tech News Delivered Every Day Email Address Sign up There was an error. Please try again. You're in! Thanks for signing up. There was an error. Please try again. Thank you for signing up! Tell us why! Other Not enough details Hard to understand Submit