Download ArticleDownload Article

Computer files with a ".exe" extension are called executables, or EXE files. This type of file is one of the most ubiquitous in the Windows operating system, where it is used to install or run software applications. EXE files are also helpful for packaging and distributing small scripts or macros, as they allow the user to reduce their work to a single file while compressing its size. Running EXE files in Windows is a fairly straightforward process, but it gets a bit more complicated trying to run an EXE on a Mac. You can also extract files from an EXE file.

Opening EXE Files

On Windows, double-click the EXE file to run it. On Mac, download and install Xcode from the Mac App Store. Install MacPorts, then open the Terminal and paste this command: "echo export PATH=/opt/local/bin:/opt/local/sbin:\$PATH$'\n'export MANPATH=/opt/local/man:\$MANPATH | Sudo tee -a /etc/profile."

Method 1
Method 1 of 3:

Running EXE Files (Windows)

Download Article
  1. How.com.vn English: Step 1 Double-click an EXE file to run it.
    EXE files are Windows executable files designed to run as programs. Double-clicking any EXE file will start it.
    • If the EXE file was downloaded from the internet, you'll be asked to confirm that you want to run it. Be wary when running EXE files from unknown sources, as this is the easiest way to get infected with a virus. Never open an EXE file downloaded as an email attachment, even if you know the sender.
    • EXE files might not run properly if they were designed for an outdated version of Windows. You can try adjusting the compatibility settings by right-clicking on the file, selecting "Properties", and then clicking the Compatibility tab. You can set what version of Windows you want to run the EXE file as, but this is not guaranteed to solve the problem.
  2. How.com.vn English: Step 2 Open the Registry...
    Open the Registry Editor if you can't run EXE files. If you get error messages when you try to run an EXE file or nothing happens, there may be a problem with your Windows registry settings. Editing your registry may seem a little daunting, but it should only take a few minutes.[1]
    • To open the Registry Editor, press the Windows key + R and type regedit.
    Advertisement
  3. How.com.vn English: Step 3 Navigate to .
    HKEY_CLASSES_ROOT\.exe. Use the navigation tree on the left to open this directory.
  4. Step 4 Right-click on the "(Default)" entry and select "Modify".
    This will open a new window.
  5. How.com.vn English: Step 5 Type .
    exefile into the "Value data" field. Click OK to save the changes.
  6. How.com.vn English: Step 6 Navigate to .
    HKEY_CLASSES_ROOT\exefile. Use the navigation tree on the left to open this directory.
  7. Step 7 Right-click on the "(Default)" entry and select "Modify".
    This will open a new window.
  8. How.com.vn English: Step 8 Enter .
    "%1" %* into the "Value data" field. Click OK to save the changes.
  9. How.com.vn English: Step 9 Navigate to .
    KEY_CLASSES_ROOT\exefile\shell\open. Use the navigation tree on the left to open this directory.
  10. Step 10 Right-click on the "(Default)" entry and select "Modify".
    This will open a new window.
  11. How.com.vn English: Step 11 Enter .
    "%1" %* into the "Value data" field. Click OK to save the changes.
  12. How.com.vn English: Step 12 Reboot...
    Reboot your computer. After editing the three entries above, close the Registry Editor and reboot your computer. You should be able to open EXE files again. It is highly recommended that you try to track down what caused this problem in the first place. You may have a virus or malware infection, which could cause the same problem again in the future.
  13. Advertisement
Method 2
Method 2 of 3:

Running EXE Files (OS X)

Download Article
  1. How.com.vn English: Step 1 Understand the process.
    EXE files are not designed for OS X, so you'll need to use special software to get them to run. You'll be installing the open-source "wine" utility, which adds a Windows "wrapper" to the EXE file, giving it access to the essential Windows files that it needs to run. The wine utility does not work with every Windows EXE file, and some programs work better than others. You do not need a Windows disc to install wine.
  2. How.com.vn English: Step 2 Download...
    Download and install Xcode from the Mac App Store. This is a free development tool that is required to compile software code. You won't be using it directly, but the tools you'll be installing to open EXE files rely on it.
    • Start Xcode after you finish downloading it, and click the "Xcode" menu. Select "Preferences" and then click the "Downloads" tab. Click the Install button next to "Command Line Tools".
  3. How.com.vn English: Step 3 Download and install MacPorts.
    This is a free utility that simplifies the compiling process, which you'll be using to build your version of wine. You can download MacPorts from macports.org/install.php. Click the link for the version of OS X that you are using, and then double-click the .pkg file downloaded to your computer to install MacPorts.
  4. How.com.vn English: Step 4 Open...
    Open the Terminal. You'll need to use the Terminal to adjust some of MacPorts' settings. You can open the Terminal from the Utility folder.
  5. How.com.vn English: Step 5 Copy and paste the following command.
    Paste this command into the Terminal window and press Return:
    echo export PATH=/opt/local/bin:/opt/local/sbin:\$PATH$'\n'export MANPATH=/opt/local/man:\$MANPATH | Sudo tee -a /etc/profile
  6. How.com.vn English: Step 6 Enter your admin...
    Enter your admin password. You will be prompted for your admin password before the command can run. You won't see anything as you type the password. Press Return after you have finished typing the password. If you don't have a password associated with the admin account, the process will fail.
  7. How.com.vn English: Step 7 Copy and paste...
    Copy and paste the following command. This command will tell MacPorts whether or not you have a 64-bit system. Paste the following command and press Return:
    if [ `sysctl -n hw.cpu64bit_capable` -eq 1 ]; then echo "+universal" | Sudo tee -a /opt/local/etc/MacPorts/variants.conf; else echo "n/a"; fi
  8. How.com.vn English: Step 8 Enter the command to agree to the Xcode license.
    This quick command will tell Xcode that you agree to the license agreement, allowing you to compile code. Close and reopen the Terminal window after running this command:
    • sudo xcodebuild -license
  9. How.com.vn English: Step 9 Enter the command to install wine.
    Once you've reopened the Terminal window, you can start installing wine. You may be prompted for the admin password again. The installation process may take a while to complete. You'll know that it's finished when you are returned to the Terminal input:
    • sudo port install wine
  10. How.com.vn English: Step 10 Navigate to the location of the EXE file.
    Use the cd command to navigate to the location where your EXE file is stored on your Mac. You'll need to do this through the Terminal.
  11. How.com.vn English: Step 11 Use wine to run the EXE file.
    Enter the following command to run an EXE file that's in your current directory. Replace fileName with the actual file's name:
    • wine fileName.exe
  12. How.com.vn English: Step 12 Use the program as you normally would.
    If the EXE file is a standalone program, you'll be able to start using it immediately. If it's a setup file for a program, you'll be able to proceed through the installation prompts as if you were using Windows.
    • Not every program works with wine. For a full list of compatible programs, visit appdb. wine ha.org.
  13. How.com.vn English: Step 13 Open programs that have been installed.
    If you used an EXE file to install a program, you'll need to use wine to run the installed program file.
    • Type cd ~/.wine/drive_c/Program\ Files/ to open the Program Files directory that your wine programs are installed to.
    • Type ls to see a list of all of your installed programs. Type cd programName to open a program's directory. If the program's directory has a space, you'll need to include a \ before the space. For example, Microsoft Office would be cd Microsoft\ Office.
    • Type ls again in the program's directory to find the EXE file.
    • Type wine fileName.exe to run the program.
  14. How.com.vn English: Step 14 Install the Mono libraries if the program requires .NET.
    .NET is a software library for many Windows programs, and Mono is the open-source replacement that wine can use. you only need to install this if your programs require .NET.[2]
    • Type sudo port install winetricks and press Return.
    • Type winetricks mono210 and press Return to install Mono.
  15. Advertisement
Method 3
Method 3 of 3:

Extracting EXE Files

Download Article
  1. How.com.vn English: Step 1 Download and install 7-Zip.
    7-Zip is a free, open-source archive program that can open EXE files as if they were an archive like a ZIP or RAR file. This will work with many EXE files, but not everyone.
  2. Step 2 Right-click on the EXE file and select "7-Zip" → "Open archive".
    This will open the EXE file in the 7-Zip archive explorer. If you don't have the 7-Zip options when you right-click on a file, open 7-Zip from the Start menu and then browse for the EXE file that you want to open.
    • 7-Zip cannot open all EXE files. You may get an error when attempting to open certain EXE files. You can try using a different archive program, such as WinRAR, but chances are you won't be able to open the file due to the way it was originally compiled.
  3. How.com.vn English: Step 3 Browse for the file or files that you want to extract.
    When you open the EXE file in 7-Zip, you'll be shown a list of files and folders that the EXE file contains. You can double-click folders to see the files stored inside. You can select multiple files by holding Ctrl and clicking each one.
  4. Step 4 Click the "Extract" button after selecting the files.
    You'll be prompted to select a location, which will default to the same location as the EXE file.
    EXPERT TIP
    How.com.vn English: Luigi Oppido

    Luigi Oppido

    Computer & Tech Specialist
    Luigi Oppido is the Owner and Operator of Pleasure Point Computers in Santa Cruz, California. Luigi has over 25 years of experience in general computer repair, data recovery, virus removal, and upgrades. He is also the host of the Computer Man Show! broadcasted on KSQD covering central California for over two years.
    How.com.vn English: Luigi Oppido
    Luigi Oppido
    Computer & Tech Specialist

    Make sure you scan any EXE file for malware. EXEs can be dangerous, especially if you don't know what they are or if it's just a single file in EXE format. That's why it's important to have a good antivirus program that you can use to scan the file first before you run it.

  5. Advertisement

Community Q&A

Search
Add New Question
  • Question
    How do I install the setup.exe file on my laptop?
    How.com.vn English: Community Answer
    Community Answer
    Just open it (the setup.exe file) up and you should be good to go. It will start the installation process on its own.
  • Question
    Can I open EXE files on a Chromebook?
    How.com.vn English: Community Answer
    Community Answer
    No, you cannot. You will have to use a proxy server to download and open the file.
  • Question
    Can I open an .exe file on an Android operating system?
    How.com.vn English: Community Answer
    Community Answer
    No, you cannot. EXE files are actually meant for Windows OS. Android uses APK files as installer/setup files.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Video

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!

      About This Article

      How.com.vn English: Luigi Oppido
      Co-authored by:
      Computer & Tech Specialist
      This article was co-authored by Luigi Oppido. Luigi Oppido is the Owner and Operator of Pleasure Point Computers in Santa Cruz, California. Luigi has over 25 years of experience in general computer repair, data recovery, virus removal, and upgrades. He is also the host of the Computer Man Show! broadcasted on KSQD covering central California for over two years. This article has been viewed 1,047,258 times.
      How helpful is this?
      Co-authors: 29
      Updated: May 3, 2024
      Views: 1,047,258
      Categories: Operating Systems
      Article SummaryX

      1.Double-click the EXE file to open it on Windows.
      2.Confirm that you want to run the program.
      3.Adjust compatibility settings if necessary.

      Did this summary help you?

      Thanks to all authors for creating a page that has been read 1,047,258 times.

      Reader Success Stories

      • How.com.vn English: Juan Carlos Flores Cerenich

        Juan Carlos Flores Cerenich

        Apr 23, 2018

        "Very well explained and clearly-illustrated instructions to carry out the tasks. It can be very helpful when you..." more
      Share your story

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement