EXE – распространенный файловый формат еще со времен ОС MS-DOS. Рассмотрим, что это за файлы, их наз…
EXE – распространенный файловый формат еще со времен ОС MS-DOS. Рассмотрим, что это за файлы, их назначение и задачи, какими программами запускаются, на что обратить внимание при работе с ними.
Часто встречающийся файловый формат – EXE. Помогает запустить установку программ на компьютер. Как открыть файл EXE в разных операционных системах, просмотреть или отредактировать содержимое – рассмотрим подробнее.
Формат EXE
EXE применяется для названия файлов-исполнителей. Это сокращение английского «executable files» – исполняемый файл. Используется в операционных системах Microsoft Windows, MS-DOS. Его задача – запуск инсталляции (деинсталляции) софта на устройство. Для этого в нем записан сценарий и код, которые запустят процесс.
В файле EXE находятся:
- Стартовый блок установки.
- Данные для загрузчика файла.
- Ресурсы программы – графические, медиа-элементы в сжатом виде.
- Формы объектов – иконки программ, листы.
При открытии файла запускается автоматический процесс распаковки компонентов папки с приложением или загрузочного диска. Типичные примеры файлов .EXE – Setup.exe, Install.exe. Они входят в состав разных программ: игр, офисных и графических редакторов, других.
Файл может быть закодирован и сжат архиватором в самораспаковывающийся архив. Инсталляция проводится в ту же директорию или в указанную пользователем.
Создание файлов .EXE
Формат разработан в 1981 году для ОС MS-DOS. Пришел на смену формату .COM. Преимуществом было отсутствие ограничений и полноценное использование адресного пространства ЭВМ. Модернизации в формате происходили по мере появления новых компьютеров IBM PC с виртуальной памятью, новыми режимами переадресации и расширенной функциональностью. Обновленный и расширенный, формат по-прежнему применяется в современных Microsoft Windows.
Открываем EXE расширение
На персональном компьютере с ОС Microsoft Windows затруднений при открытии файла не возникает (об исключениях ниже). Сложности будут, если у пользователя Linux, Mac OS или мобильное устройство. Частый вопрос – как открыть EXE файл для редактирования или просмотра. Разбираемся по порядку.
На компьютере
Как открыть файл .EXE зависит от операционной системы устройства. Если это версии ОС Microsoft Windows, то сложностей быть не должно – под эту ОС файлы и разрабатывались. В основном они запускаются автоматически, для просмотра содержимого можно применить ряд утилит. Сложнее задача решить на ОС Linux или Mac. Но и тут выходы есть. Разберем подробней.
ОС Microsoft Windows 7
Для запуска применяем двойной щелчок манипулятора. Файл начнет устанавливаться и распаковываться (если это архив). Для просмотра содержимого без инсталляции подойдут утилиты Windows:
- 7Zip – утилита для сжатия данных. Нужный файл выбирается при помощи пункта меню архиватора.
- VMware ThinApp – софт для просмотра и переноса программ на другие платформы.
- Microsoft Visual Studio – программа для разработки приложений.
- IcoFX – утилита для просмотра, изменения значков из файловых ресурсов.
Для редактирования файлов .EXE подойдет Resource Hacker и аналогичные программы. Это редактор с функцией доступа в исполнительные файлы (.EXE, .DLL) для просмотра и замены в них данных.
ОС Microsoft Windows 10
Программы и принцип применения аналогичны, описанным выше. Сложность может быть в некорректном редактировании реестра Windows. Поможет модификация конфигурационного Reg-файла. Для него скачивается архив, соответствующий версии ОС Microsoft Windows, он распаковывается и после перезагрузки ПК файл .EXE должен открываться.
ОС Mac
На ПК с этими ОС напрямую открыть и запустить файл с форматом .EXE невозможно. Потребуются программы-эмуляторы, которые запустят Windows и ее приложения на ОС Mac:
- VMware Workstation.
- Parallels Desktop.
- Oracle VM VirtualBox.
- Kronenberg WineBottler.
- CodeWeavers CrossOver.
- Cedega.
- Darwine.
Windows приложения работают с эмуляторами без сбоев, для переключения на установленную на компьютере ОС не нужно перезагружать ПК.
ОС Linux
Как и ОС Мас напрямую из Linux открыть .EXE не удастся. Применяются программы-эмуляторы Windows, указанные выше. После запуска виртуального сеанса Windows, файл будет открыт.
ОС Android
Как открыть EXE файл на Андроиде при том, что формат не предназначен для работы с ним? Структура и состав файлов EXE другой, прямой запуск невозможен. Есть два способа открыть файл:
- При помощи удаленного доступа.
- С программой-эмулятором Microsoft Windows.
Второй вариант проще. К таким утилитам относятся: BOCHS, Limbo, QEMU и другие. Принцип действий идентичен: скачать и установить приложение на мобильное устройство, запустить утилиту.
Возможные проблемы с файлами .EXE
Стоит быть внимательными при открытии файлов этого типа – они могут содержать в себе вирусное программное обеспечение. Получив файл от неизвестного отправителя, скачав с непроверенного источника, не стоит открывать его и запускать инсталляцию.
Файлы .EXE могут не работать, если рассчитаны на другую версию ОС Windows. Решение – в разделе «Свойства» файла зайти в пункт «Совместимость» и вручную изменить версию ОС. Не в 100% случаев, но такие действия помогают.
Если при запуске файла .EXE выдается сообщение об ошибке или действий нет, причиной могут быть настройки реестра Windows. При их изменении файл откроется.
Все способы:
- Восстановление работоспособности EXE-файлов
- Способ 1: Настройка ассоциации в системном реестре
- Способ 2: Отключение антивируса
- Способ 3: Устранение вирусной угрозы
- Способ 4: Восстановление системных компонентов
- Заключение
- Вопросы и ответы: 13
Пользователи «десятки» могут столкнуться с проблемой: в один момент перестают запускаться исполняемые файлы (EXE). Попытка открыть их приводит к появлению окна выбора программы для этих целей, сообщения об ошибке или же не происходит ничего. В материале далее мы хотим рассмотреть методы устранения этого сбоя.
Восстановление работоспособности EXE-файлов
Рассматриваемый сбой возникает по следующим причинам:
- нарушена ассоциация в системном реестре;
- антивирус распознаёт файлы как зараженные либо EXE действительно оказались заражены;
- повреждение одного или нескольких системных компонентов.
Метод устранения проблемы зависит от причины, по которой она возникла.
Способ 1: Настройка ассоциации в системном реестре
Чаще всего неработоспособность исполняемых файлов связана с нарушением ассоциации формата EXE в реестре ОС. Исправить это можно следующим образом:
- На «Рабочем столе» нажмите сочетание клавиш Win+R. В окне «Выполнить» введите запрос
regedit
и нажмите «ОК». - Запустится оснастка «Редактор реестра». В дереве каталогов перейдите по адресу
HKEY_CLASSES_ROOT\.exe
. Найдите там запись с именем «(По умолчанию)» и откройте её двойным щелчком левой кнопки мыши. - Удалите всё содержимое записи, впишите туда параметр
exefile
, затем нажмите «ОК». - Далее в этой же ветке перейдите по адресу HKEY_CLASSES_ROOT\exefile\shell\open\command. В этой директории также откройте запись «(По умолчанию)».
Значение записи должно быть равно
"%1" %*
. Если видите там любой другой текст, отредактируйте параметр по аналогии с шагом 3. - Повторите действия предыдущего шага для веток HKEY_CLASSES_ROOT\exefile\shell\open и HKEY_CLASSES_ROOT\exefile. Далее закройте утилиту и перезагрузите компьютер.
Этот метод очень эффективен, однако не поможет, если причиной проблемы является вирусное заражение.
Способ 2: Отключение антивируса
В некоторых случаях запуск EXE-файлов может блокироваться антивирусом. Увы, алгоритмы работы даже продвинутых платных решений не идеальны, из-за чего вполне безобидные программы вроде CheatEngine защитное ПО распознаёт как угрозу. Если вы уверены, что запускаемые EXE не причинят вреда, можете на время отключить антивирус – таким образом будет снята блокировка, и приложение получится установить или запустить.
Урок: Отключение антивируса
Способ 3: Устранение вирусной угрозы
Иногда же возникает ситуация, диаметрально противоположная предыдущей – исполняемые файлы оказались действительно заражены. Подобные проблемы создают самые опасные зловреды, разновидности локеров и шифровальщиков, поэтому важно как можно быстрее устранить угрозу.
Урок: Борьба с компьютерными вирусами
Способ 4: Восстановление системных компонентов
В некоторых случаях неполадки с работой исполняемых файлов связаны с повреждениями элементов системы: того же таки реестра, служб либо среды выполнения. В такой ситуации нужно попробовать выполнить восстановление компонентов.
Урок: Восстановление системных компонентов и реестра Windows 10
Заключение
Теперь вам известно, почему EXE-файлы могут не работать в Виндовс 10 и как можно справиться с этой проблемой. В большинстве случаев неполадка возникает вследствие нарушенной ассоциации.
Наша группа в TelegramПолезные советы и помощь
Table of contents
- “Why Can’t I Run EXE Files in Windows 10?”
- How to Fix a Program File Not Opening in Windows 10
- Check the system for malware
- Mend the .exe file association
- Change executable file parameters in the registry
- Try a different user account
- Run the DISM and SFC tools
- Restore the location of the Program Files folders
- Disable Windows Firewall
- Conclusion
An executable file or .exe is a type of file on Windows that denotes an installed program or application. An executable file is a file that can be executed by the operating system. When you click on an .exe file, the system is able to run the corresponding program because the file is in a format that it can read and “execute”.
Every native Windows application, installed program, and downloaded game has an .exe component, which is the main program file. Without this file, the program would be just a collection of useless files. The .exe file format is the default application mode on all iterations of the Windows operating system.
Usually, once a program is installed, you can click its desktop icon and run the program. The icon is linked to the main executable file, so once it’s clicked, the program loads and starts running.
In some cases, especially for small programs, you have to click the actual executable file. But, even then, the principle remains the same.
So, what happens if Windows cannot open an .exe file after you’ve clicked on it? Many users have been complaining about this in Windows forums and looking for how to fix an .exe file that won’t open. As per these users, clicking on the application file does nothing or displays the “Can’t open .exe file” error notification.
All indications are that this issue is happening on the latest version of Windows 10, so it’s unlikely to be linked to using an old operating system. Windows 7, 8.1 and 10 users alike have expressed their frustration about it.
As with basically every Windows issue, solutions abound. However, it would be great to know what caused an issue so that adequate steps can be taken to avoid it happening again once it’s been solved.
So, if you’ve been facing the issue of being unable to open .exe files on Windows 10, this article will be your guide. At least one of the solutions given should resolve your situation.
“Why Can’t I Run EXE Files in Windows 10?”
Of all the file types that work on Windows, the executable file format is perhaps the most “natural”. It is associated with the Windows operating system and is expected to just work. So, when an executable file is clicked and nothing happens, it should be surprising.
There are several reasons why clicking an .exe file might not result in a loading app or open program. Here is a rundown of the major causes:
- System issues. Windows is a labyrinth of files, components, drivers, and configurations, and random conflicts might occur. Corrupt system files or faulty components can prevent the user from successfully opening an application file.
- Viruses and their kindred are a considerable threat to the integrity of Windows operations. If malware infiltrates a computer, it can do a wide range of damage, including preventing apps from opening.
- Bad shortcut. Most installed programs are opened via a desktop shortcut. If the shortcut has been compromised by malware, it may target the wrong source, thus being unable to open the parent application. Furthermore, the shortcut might have become corrupt, meaning it no longer works. This would make using it to open the main application a fruitless endeavor.
- Corrupt registry entry. Again, this might be indirectly attributed to malware infection. Some types of threats change the registry settings on the computer and mess up the system’s processes. If the registry entry that handles .exe files has been corrupted, the user might have problems with executing apps and programs.
- Third-party tools. Some third-party programs can change the default configuration of executable files on the computer without authorization. When you download a program from the Internet, another one might get installed alongside it if you don’t choose Custom Install and disable it. The unwanted program might change the system’s properties, thus causing issues with opening .exe files.
With the common causes of this issue now clear, you’re going to learn how to enable .exe files in Windows 10. The issue is not too difficult to resolve. You can use the best workarounds and hacks given in this guide.
How to Fix a Program File Not Opening in Windows 10
If you cannot launch the executable file for a certain program, it means you’ll have to go without the app, service, program or game’s functionality for as long as the issue persists. This is obviously unacceptable since using programs is the whole point of a computer.
When this happens, you must find a solution immediately. Since this is why you’re here, you can dive into the collection of possible fixes listed in this guide. You can either work your way down or jump to a fix you haven’t tried yet depending on how deep you’ve gone with the troubleshooting.
Check the system for malware
There is a wide variety of malware out there, and some malicious entities can prevent you from opening .exe files on your computer.
If your PC has been invaded by malicious software and you cannot open executable files, this is probably the cause. You’d have to get rid of the threats first to restore full functionality to Windows.
Here, you might consider yourself spoilt for choice. Apart from the pre-installed Windows Defender, you might have a preferred tool to eliminate threats. There’s never too much of a good thing when it comes to ensuring your computer’s safety: we recommend you try Auslogics Anti-Malware to clear out all damaging software on your computer.
PRO TIP
Auslogics Anti-Malware works great as a secondary security option, so there’s no need for you to nix your main antivirus. Once you’ve downloaded and installed the tool, run it with admin rights and use the full scan option to give your system a thorough security check.
Once you’ve eliminated discovered threats from your computer, make sure to reboot it, and you should now be able to open your favorite programs without any annoying .exe error.
To get the best results, you might have to perform this fix after enabling Safe Mode.
Mend the .exe file association
If you get the Open With dialog box when you click an executable file, it means that there’s a file association issue on Windows. This can also happen if the system tries to open the file in another program instead of simply loading it outright.
When the file associations for .exe files are changed, your program, game or app might not start. Instead, you get an opportunity to use another app to open the file. Or you get nothing.
A corrupt file association is an issue many Windows users don’t know how to resolve. Luckily, you can use the Command Prompt program to quickly re-associate executable files with the .exe file type. All you need to do is enter a single command.
To do this, launch the Command Prompt with admin rights. Right-click the Start menu and select Command Prompt (Admin) from the list. If the option has been replaced, type cmd
into Search and click “Run as administrator” under Command Prompt in the search results.
If the Command Prompt won’t open normally, open File Explorer, go to C:/Windows/System32 and search for cmd.exe. Right-click the file and select “Run as administrator”.
When the Command Prompt opens, type or paste the line below and hit the Enter key to run the command:
assoc .exe=exefile
This will re-establish the association between executable files and the .exe file extension. You shouldn’t encounter further issues when you click on an app or program file.
Change executable file parameters in the registry
When values in the registry are changed, it can prevent you from opening executable files. Each major file type has its opening parameters recorded in the registry, and when the values that affect executable files are modified, the system might no longer be able to load the files when clicked.
You can go into the registry to check if this is the case and change the keys back to their default values if needed.
The first step is to open the Registry Editor. Type regedit
into Search and hit the Enter key to quickly open the Registry Editor app. The next step is to create a registry backup. This could prove useful later if something goes wrong and you need to restore the registry to the way it was. Right-click Computer in the left pane of the Registry Editor and select Export. When the Export window opens, give the backup a name, choose a familiar location for the file, and then click Export.
Next, use the left-hand side to navigate to the path below or use the path bar:
HKEY_CLASSES_ROOT\.exe
Head over to the right pane and double-click the Default key. Check that the value in the Value Data field is “exefile”. If the Value Data field displays any other value, clear it and change the value to “exefile”. Click OK to confirm the change.
Next, use the left-hand side to navigate to the path below or use the path bar:
HKEY_CLASSES_ROOT\exefile\shell\open\command
Head over to the right pane, double-click the Default key, and change the value in the Value Data field to “%1” %* and click OK to confirm the change.
Finally, navigate to the path below in the Registry Editor:
HKEY_CLASSES_ROOT\exefile
Like before, move to the right pane, double-click the Default key, and change the value in the Value Data field to “%1” %* and click OK to confirm the change.
When you’ve made these three changes, close the Registry Editor and reboot your system. Once you log back in, any executable file you click should open instantly.
Try a different user account
Several users mentioned that simply using a different user account had solved the problem for them. If you’ve so far been unsuccessful in fixing the issue, you can try this method as well.
If it works, you can just copy or move your files to the new account and keep using it.
Here’s how to create a new user account on Windows 10:
- Open Settings and select Accounts.
- On the left pane, select Family & other users.
- Head over to the right and select Add someone else to this PC under Other users.
- On the How will this person sign in? screen, click the I don’t have this person’s sign-in information link.
- On the next screen, click the Add a user without a Microsoft account link.
- Then enter the credentials for the new user account and click Next.
Once you have added a new user account, sign into the account and test whether executable files are working. If so, you can make it an admin account and move all your stuff over to it.
Run the DISM and SFC tools
One reason for this issue that is often overlooked is system file corruption. Corrupt system files can cause normal operations, like opening .exe files, to stop working. You may need to scan the files and repair the damaged ones before the issue can be resolved.
Fortunately, you don’t need to download any third-party tool for this. What you need is right there on your system. The SFC and DISM tools can help you check if anything is wrong with the system files and repair any errors.
Microsoft recommends running DISM and SFC scans together on Windows 10. While SFC checks individual system files for possible corruption, DISM checks the entire system image for potential bad sectors.
On Windows 10, run DISM first. Open an elevated Command Prompt window as previously shown and run the command below:
Dism.exe /online /cleanup-image /restorehealth
DISM will check the system image for any damaged parts and attempt to rectify any identified anomaly. If it needs to replace anything, it will download the replacement via Windows Update.
For this reason, make sure your PC is connected to the internet when you run the tool.
Once DISM has finished scanning, go ahead and run an SFC scan. Run the command below in the open Command Prompt window:
sfc /scannow
You may need to wait a while, so grab a coffee if you can. SFC will check individual files for corruption, damage or absence and replace any problematic system file with a fresh copy from the local Windows cache.
Once the scan is done, check the report message. If you’re told that it found some errors and fixed them, perhaps your problem has been solved.
Irrespective of the message you get, restart the computer and attempt to launch an .exe file. With any luck, the program will load and there won’t be further issues.
Restore the location of the Program Files folders
On Windows 10, Program Files and Program Files (x86) are the default installation folders for 64-bit and 32-bit third-party apps respectively. They are located in the root of the system drive, along with the Windows folder and other primary directories.
You might have changed the location of this folder or modified it in some other way. Some people do this in order to save space, though there could be other reasons. Either way, this can sometimes lead to issues like .exe files not opening.
If you’ve previously tampered with the Program Files folders, you should be able to undo the damage by changing things back to their defaults via the Registry Editor:
- Open the Registry Editor and take a backup if you haven’t already done so.
- Navigate to HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersion via the left pane or the path bar.
- Head over to the right pane and double-click ProgramFilesDir. Change the value in the Value Data field to C: Program Files.
- Now double-click ProgramFilesDir (x86) (if present) and change the value in the Value Data field to C: Program Files (x86).
- Exit the Registry Editor and reboot the computer.
Disable Windows Firewall
Windows Firewall automatically protects the system from malicious incoming or outgoing connections. We recommend always keeping it active.
However, several users claimed that turning off the tool had helped them to fix the issue of executable files not opening in Windows 10. Personally, we’re skeptical about the claim, but it won’t hurt to check it out if nothing else has worked so far.
Note that irrespective of whether it works or not, you shouldn’t permanently disable Windows Firewall unless you have no intention of using the internet at all. If the method works, you can leave Firewall inactive for a little while as you search for a better solution.
Here is how to disable Firewall:
- Type
Firewall
into the Search panel and select Windows Firewall from the search results. - On the left of the Control Panel window that opens, click the Turn Windows Firewall on or off link.
- In the Customize Settings window, select Turn off Windows Firewall (not recommended) under Private network settings.
- Next, select Turn off Windows Firewall (not recommended) under Public network settings.
- Click the OK button to save your changes and exit the Control Panel.
Remember to go back there and enable Windows Firewall for both public and private network connections once you’ve found a better solution.
Conclusion
This guide has talked about how to fix the “.exe file won’t open correctly” issue in Windows 10. Being unable to open executable files in Windows is something that should never happen, and using our guide should help you get the system working normally again in no time.
Opening and accessing .EXE files can sometimes be difficult for Windows users, even if they are using the latest version of Windows. Many queries related to the same were submitted on Microsoft forums, and still, no viable solution was provided to resolve this query.
There are cases in which users even receive error messages when they try to open a .exe file, like Access Denied, Runtime Error, etc. So, what is the actual reason behind this problem?
Cause of .EXE Not Opening
According to Microsoft experts, this problem occurs due to corrupt registry settings, or system issues due to virus infection or third-party tool installations. Installation of third-party software can change the default configuration for running EXE files, which often leads to failures when you try to run EXE files.
Well, fixing this problem is very easy and convenient without using any third-party tools.
Methods to Open .EXE Files in Windows 10
There are multiple ways to resolve this error; here, we will cover the most useful methods for fixing “EXE files not opening in Windows 10.”
- By changing the registry values
Due to unknown reasons, the values in your system registry often get changed that prevent .exe files from opening. You can change the default registry settings, following the below steps:- Press Window + R on your system and type cmd to launch Command prompt.
- On the command prompt, type regedit and press enter.
- Registry Editor will appear on the screen, in the left pane, click HKEY_CLASSES_ROOT.exe.
- In the right pane, you’ll see Registry keys. Click the Default key and set the data value to exefile.
- After changing the key value, click HKEY_CLASSES_ROOTexefileshellopencommand key in the left pane.
- Just like above, click the Default key and change its value to “%1” %*.
- Now, restart your computer, and see if the problem is fixed or not.
For some users, this method might work in the Safe mode. However, if it still doesn’t work for you, then check other methods mentioned below.
- Turn off Windows Firewall
Every genuine Windows comes integrated with Firewall protection to protect the system from external malware attacks. Disabling Windows Firewall can also fix this issue, as reported by some users. To disable Windows Firewall, you’ll have to launch your computer in Safe Mode, and then follow the below steps:- After starting the computer in Safe Mode, press Window + S to enter Windows Firewall and select Windows Firewall from there.
- In the left pane, click Turn Windows Firewall on or off. In the opened wizard, select Turn Off Windows Firewall for both Private network settings and Public network settings, and then click OK to save changes.
- After turning off the Windows Firewall, check if the problem is still persisting or not.
Well, it is NOT RECOMMENDED to disable Windows Firewall on your system, as it protects your data from malicious attacks. But, if disabling it fixes some problems, then you can give it a try.
General Suggestions for Fixing .EXE File Errors
Using the above methods, you can easily resolve the problems in opening the .exe file. But, if you’re still unable to access your .exe file, then you can follow some general tips, such as:
- Use System File Checker
It is an in-built tool provided by Microsoft to help users repair their data files. Using this software, you can scan Windows and restore files. - Try Clean Boot for your System
Clean boot is the process of starting your Windows with minimal programs and services. And when your Windows start with minimal resources, you can use hit and trial method to find the third-party application that is harming your files.To start your system in Clean Boot, you need to run msconfig command in the Run dialog box, which will display the System Configuration Utility.
Go to the Services tab and hide all the Microsoft services, then click the Startup tab to locate the culprit software and disable it. Now, reboot your system, and you’ll not face the problem again.
- Install Latest Updates
Check for Windows 10 latest updates and install on your system. If the latest updates are not installed, then download and install it because sometimes .exe files are unable to open in old versions.
To check for Windows 10 updates, go to System settings>>Update & Security, and then click Windows Update.
In case, if the Windows system is corrupt, then none of the solution will work for you. However, you can use Windows Data Recovery software that will help you recover files of your system.
Conclusion
EXE is an executable file format used by various applications. But users sometimes find it difficult to open and access their .exe files on Windows systems. Windows Data Recovery will recover all the files present in Windows system including the EXE files. So, whenever you are facing problems or errors in opening the executable files, then you scan the drive using Windows Data Recovery and retrieve the EXE files that will run properly now.
Загрузить PDF
Загрузить PDF
Компьютерные файлы с расширением .exe называются исполняемыми файлами. Этот формат является одним из наиболее распространенных форматов в операционной системе Windows, где он используется для установки или запуска программ. Формат EXE используется также при упаковке и передачи небольших скриптов и макросов, так как это позволяет создать всего один файл (к тому же еще и небольшого размера).
-
EXE файлы Windows – это исполняемые файлы, предназначенные для запуска программ.
- Если EXE файл был скачан из интернета, откроется диалоговое окно с запросом на подтверждение действия. Будьте осторожны при работе с EXE файлами, скачанными из неизвестных источников, так как это самый простой способ заразиться вирусом. Никогда не открывайте EXE файл, прикрепленный к электронному письму, даже если вы знаете отправителя.
- EXE файлы могут не работать должным образом, если они предназначены для устаревшей версии Windows. Вы можете попробовать изменить параметры совместимости, щелкнув правой кнопкой мыши по файлу и выбрав «Свойства», а затем перейдя на вкладку «Совместимость». На этой вкладке выберите версию Windows, из-под которой вы хотите запустить EXE файл (но не факт, что это устранит проблему).
-
Если при попытке запустить EXE файл вы получаете сообщения об ошибках или вообще ничего не происходит, возможно, у вас проблемы с настройками реестра Windows. Редактировать реестр не так легко, но вы можете быстро научиться этому.[1]
- Чтобы открыть редактор реестра, нажмите ⊞ Win+R и введите regedit.
-
HKEY_CLASSES_ROOT\.exe. Для этого используйте левую панель.
-
Щелкните правой кнопкой мыши по записи «(По умолчанию)» и выберите «Изменить». Откроется новое окно.
-
exefile. Нажмите ОК.
-
HKEY_CLASSES_ROOT\exefile. Для этого используйте левую панель.
-
Щелкните правой кнопкой мыши по записи «(По умолчанию)» и выберите «Изменить». Откроется новое окно.
-
"%1" %*. Нажмите ОК.
-
KEY_CLASSES_ROOT\exefile\shell\open. Для этого используйте левую панель.
-
Щелкните правой кнопкой мыши по записи «(По умолчанию)» и выберите «Изменить». Откроется новое окно.
-
"%1" %*. Нажмите ОК.
-
После редактирования этих трех записей реестра закройте редактор реестра и перезагрузите компьютер. Теперь вы сможете открывать EXE файлы. Но для начала рекомендуется попробовать определить причину неполадки. Например, возможно, что ваша система заражена вредоносными программами; удалите их.
Реклама
-
EXE файлы не поддерживают OS X, поэтому вам понадобится специальное программное обеспечение, чтобы заставить их работать. Для этого установите бесплатную утилиту Wine, в которой можно работать с файлами Windows. Помните, что не все EXE файлы можно открыть в этой утилите, а некоторые программы будут работать лучше, чем другие. Вам не нужен установочный диск Windows, чтобы установить Wine.
-
Это бесплатный инструмент разработчиков, необходимый для того, чтобы скомпилировать программный код. Вы не будете пользоваться этим инструментом, но он необходим для работы с другими утилитами, которые открывают EXE файлы.
- Запустите Xcode и откройте его меню. Выберите «Настройки» – «Загрузки». Нажмите «Установить» (рядом с «Инструменты командной строки»).
-
Это бесплатная утилита, которая упрощает процесс компиляции и которую вы будете использовать, чтобы установить Wine. Вы можете скачать MacPorts с сайта macports.org/install.php. Щелкните по ссылке для версии OS X, которую вы используете, а затем дважды щелкните по скачанному файлу с расширением .pkg, чтобы установить MacPorts.
-
Вы можете открыть терминал из папки «Утилиты».
-
Скопируйте и вставьте в окно терминала следующую команду, а затем нажмите Return:
echo export PATH=/opt/local/bin:/opt/local/sbin:\$PATH$'\n'export MANPATH=/opt/local/man:\$MANPATH | sudo tee -a /etc/profile
-
При вводе пароля никакие символы отображаться не будут. Введя пароль, нажмите Return. Если у вас нет пароля администратора, процесс не запустится.
-
Эта команда уведомит MacPorts, пользуетесь ли вы 64-битной системой. Вставьте следующую команду и нажмите 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
-
Введите команду принять условия лицензии Xcode, чтобы получить возможность скомпилировать код. После выполнения этой команды закройте и снова откройте терминал:
- sudo xcodebuild -license
-
Вам может быть предложено еще раз ввести пароль администратора. Процесс установки может занять некоторое время.
- sudo port install wine
-
Для этого в терминале используйте команду cd.
-
Введите следующую команду для запуска EXE файла, который находится в текущем каталоге. Замените имя_файла на имя выбранного ЕХЕ файла.
- wine имя_файла.exe
-
Если EXE файл запустил программу, вы сможете начать работать с ней. Если это установочный файл, следуйте инструкциям на экране, чтобы установить программу (как вы это делаете в Windows).
- Не каждая программа будет работать в Wine. Для получения полного списка совместимых программ откройте сайт appdb.winehq.org.
-
Запустите установленную программу (если вы использовали EXE файл для ее установки). Для этого воспользуйтесь Wine.
- Введите cd ~/.wine/drive_c/Program\ Files/, чтобы открыть каталог «Program Files», в котором установлены программы в Wine.
- Введите ls, чтобы просмотреть список всех установленных программ. Введите cd имя_программы, чтобы открыть каталог программы. Если в имени программы присутствует пробел, до пробела введите \. Например, для Microsoft Office введите cd Microsoft\ Office.
- Введите ls, чтобы найти EXE файл.
- Введите wine имя_программы.exe, чтобы запустить программу
-
Это библиотека программного обеспечения, требуемая многими программами Windows, а Mono – это бесплатный аналог такой библиотеки, который поддерживается Wine. Установите Mono только в том случае, если ваши программы требуют наличия .NET.[2]
- Введите sudo port install winetricks и нажмите Return.
- Введите winetricks mono210 и нажмите Return, чтобы установить Mono.
Реклама
-
Это бесплатный архиватор, при помощи которого можно открыть EXE файлы, как если бы они были ZIP или RAR архивами. Этот архиватор будет работать со многими EXE файлами, но не с каждым из них.
- Вы можете скачать 7-Zip с сайта 7-zip.org.
-
Щелкните правой кнопкой мыши по файлу EXE и выберите «7-Zip» → «Открыть архив». Это откроет EXE файл в проводнике 7-Zip. Если в контекстном меню опций 7-Zip нет, запустите 7-Zip через меню «Пуск», а затем выберите нужный EXE файл.
- 7-Zip не откроет любой EXE файл. Вы можете получить сообщение об ошибке при попытке открыть некоторые EXE файлы. В этом случае попробуйте использовать другой архиватор, например, WinRAR, но, скорее всего, вы не сможете открыть файл из-за метода его компиляции.
-
Открыв EXE файл в 7-Zip, вы увидите список файлов и папок, содержащихся в EXE файле. Дважды щелкните по папке, чтобы просмотреть файлы, хранящиеся в ней. Вы можете выбрать несколько файлов, удерживая нажатой клавишу Ctrl.
-
Вам будет предложено выбрать папку для извлечения в нее файлов (по умолчанию этой папкой будет папка, в которой хранится EXE файл).
Реклама
Об этой статье
Эту страницу просматривали 77 124 раза.