Cannot find (file). Check if the name is correct and try again

The game launch error occurs when you launch Warface in the file D: \ GamesMailRu \ Warface \ Bin2Release \ Game.exe. The error text itself can be different: access is denied, the device does not recognize the command, there are insufficient system resources to complete the operation, one or more arguments are invalid, the specified file cannot be found. In each case, the solution may differ. First of all, we recommend:

  1. Run Warface as administrator. Right-click on the shortcut with the game and select "Run as administrator". This decision helps in cases with an error related to access to executable files.
  2. Reinstall or update Microsoft Visual C ++, Microsoft. NET Framework and VCredist. how to do it read below or follow the link: How to update MS Visual C ++, MS .NET, VCredist. The solution often helps with the error: one or more of the arguments are wrong.
  3. It is also possible that files are damaged by antivirus programs. Try reinstalling the game completely.

Not enough system resources error

The reason for the error lies in the lack of system resources. Perhaps there is not enough memory on the hard disk, not enough random access memory or the swap file is full. Free up hard disk space and increase the size of the windows paging file.

Error "the specified file cannot be found"

V this case it's safe to say that the game files are corrupted. It is necessary to reinstall the Warface game completely.

I am having trouble booting my Linux machine.

During the boot phase when running the script / it complains that it could not find mount. My PATH is set to / sbin and / bin.

I tried calling / bin / mount directly, which also failed, stating that it doesn't exist.

Then I included find. which was found and showed that / bin / mount was actually available.

I'm not sure what to do about it. I read that the initramfs is basically a busybox shell, so could the problem be there?

UPDATE

It seems that mount is the only command / file not found. I started working in the boot process; on the tab the installation is complete and found via find.

However, when I tried to execute it, I got a "not found" error message as shown below.

UPDATE 2

I solved the problem temporarily by replacing every mount instance in my / init with / bin / busybox mount. This is how it works.

2 Solutions collect form web for “/ init cannot find / bin / mount, but can find / can?”

You saved your script in DOS (windows) mode, that is, there is an extraneous return character at the end of each line.

The easiest way to fix this is probably to load the file into vim, change the mode with: set notx and then save the file, for example: wq.

It is possible that / bin / mount is a broken symlink. This can be found by find. because this displays all directory entries, but if you try to run this program it won't work as there is no file at the end of the rainbow. BusyBox assemblers are usually links to the BusyBox executable: mount -> busybox or mount -> / bin / busybox (if busybox is in / bin).

Another possibility is that the mount binary is one from your live system. This binary is a dynamically linked library that uses a dynamic loader that may not be present in the initramfs. See Getting a "Not Found" message when running 32-bit binary on a 64-bit system for an explanation of a similar case.

From time to time, our computers give various errors: some programs or files stop opening, the restart mode itself turns on and other problems arise. In this article, I will explain why the message “Cannot find (file). Please check if the name is correct and try again ”and what to do to solve this problem.

We are looking for a solution to the problem

Let's see why a message is displayed on our computer screen stating that the file cannot be found and we need to check the name. The system in brackets indicates the path to the file that cannot be found, and advises us to check if the name is correct and try again.

Users agree that this problem is caused by the antivirus. More precisely, the virus itself, traces of which were found, and the file infected by it was deleted or moved to quarantine. Also, the error appears when incorrect installation or uninstall programs. Of course, you can always reinstall Windows, but this is an extreme measure, after all, no one wants to demolish working programs. Therefore, we first apply less categorical measures - consider Various types files and define the ways to fix the error.

Solving the problem when it is impossible to open exe-files

There are several ways to solve the problem of opening exe files. Let's consider them in order.

Reinstalling software

If the file is deleted antivirus program, then there is no need to pull it out of storage, it was not in vain that it was moved there. Even if we can get it out of there, it is already damaged and will not be able to function as it should.

In this case, the exit is a complete uninstallation and installation of the program, which cannot be started. It is best to uninstall software not through the standard Windows tools, and with the help of special software - Revo Uninstaller or AIDA64. They not only uninstall the problematic program, but also "clean up" all unnecessary residual files.

Changing Steam Settings

It happens that the message about the inability to open a specific exe file "Cannot find ... Please check if the name is correct and try again" appears when you start the game. In this case, we apply the following algorithm of actions:

  • Click on the Steam folder RMB and select "Properties";
  • go to the "Security" tab;
  • in the first window “Groups or users” select the line “Users”;
  • if for some reason this line is absent, then click “Change” just below and “Add” in the next window;
Selecting a user in the Steam folder
  • in the window “Enter the names of the objects to be selected” we drive in the username and click “Check names” (the name can be taken from the “Administrators” line or use the guest name registered on this PC);

Enter the names of the selected objects
  • after successful verification of the name, click on OK;
  • make sure that all the “Allow” items are checked for the selected user and click OK;
We assign permissions for the "Users" group
  • we are waiting for the completion of the input of all the changes made and restart the game.

Registry Editor and Task Manager to Help

  1. You can try this method as well. Right click on Start (in Windows 10) and look for the "Run" line.
  2. Enter regedit. The Registry Editor opens.
  3. We go through the following path - HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Run - look for the problem line here and delete it.

Delete the file in the Run folder

Disabling startup of an application that generates the "Cannot find (file)" error can also help. Open the Task Manager (in the Start button), LMB select the desired program, then right-click on it and select “Disable”.

Solving the problem with opening Excel

If you can't open Excel workbook and a message appears stating that (the file) cannot be found - you need to check if the name is correct and try again, then you need to do the following. Since the cause of the error in this case may be the prohibition of accepting DDE requests from other applications, it must be cleared. To do this, uncheck the box next to “Ignore DDE requests from other applications”. In Excel 2007 given string is in additional parameters in the button Microsoft Office... In Excel 2003 and earlier, in General Options on the Tools menu.

Error in Local Group Policy Editor

In the course of our activity, we may encounter the fact that when starting the local editor group policy a window will appear stating that the gpedit.msc file cannot be found. We are not in a hurry to search this file on our computer, but remember or see which Windows version installed on the PC. If basic or home - they simply do not provide an LHP editor.

In this case, we act in two ways:

  • we are looking for another way where we do not need editor functions (they make it easier to manage system settings by entering changes into the register);
  • we reinstall the OS to corporate, professional and other versions with a narrow specialization.

We have discussed the main ways to solve the problem that occurs when Windows cannot be found desired file... I hope that this information will help everyone who encountered a similar error.

In contact with

I am trying to run an Asp.net MVC project that I got from a TFS control source. I have added all the assembly references and I can build and compile the files without any errors or warnings.

But in the browser I am getting the following error:

Could not find part of the path "C: \ B8akWorkspace \ B8akProject \ B8akSolution \ B8AK.Portal \ Bin \ Roslyn \ csc.exe".

Here is a complete screenshot of the error page.

After a few days of research, I realized that Roslyn is a .NET compiler framework that offers pre-compilation features. However, I don't understand why my assembly is trying to find \ bin \ roslyn \ csc.exe because I have not configured anything related to Roslyn and I have no intention of using Roslyn in my project.


2017-09-25 10:36

Answers:

The problem with the default VS2015 templates is that the compiler is not actually copied to the tfr \ bin \ roslyn \ directory, but rather to the (outdir) \ roslyn \ directory

Add this code to your .csproj file:


2017-09-25 10:44

In my case, the solution was to reinstall / update Nuget packages:

  • Microsoft.Net.Compilers 1.1.1
  • Microsoft.CodeDom.Providers.DotNetCompilerPlatform 1.0.1

Then I looked at the .csproj and made sure the package paths are correct (in my case .. \ .. \ packages \ *. *) Inside the tags from above and in named "EnsureNuGetPackageBuildImports" at the bottom. It's on MVC 5 and .NET Framework 4.5.2.

Short answer - run this in Package Manager Console:

PM> update-package Microsoft.CodeDom.Providers.DotNetCompilerPlatform -r


2017-12-21 08:23

Your assembly is trying to find \ bin \ roslyn \ csc.exe because the following packages have been added to your project. Just check the packages.config file, you can have both of them there

Microsoft.CodeDom.Providers.DotNetCompilerPlatform Microsoft.Net.Compilers

What are Roslyn and Who that added them (packages) to the project: If you are using .NET Framework 4.5.2 to create projects using VS2015, you may have noticed that the project templates use Roslyn by default. Actually Roslyn is one of the Open Source compilers for .NET languages ​​from Microsoft.

Why should we remove Roslyn: If your project contains Roslyn links and you are interested in deploying this is not a server, you will get unwanted errors on the website as many hosting providers still have not updated their servers and therefore do not support Roslyn. To fix this problem, you will need to remove Roslyn from your project template.

if you are not interested in using Roslyn, follow below steps to remove it

1. Remove Nuget packages, use following commands from Nuget Package Console

PM> Uninstall-package Microsoft.CodeDom.Providers.DotNetCompilerPlatform PM> Uninstall-package Microsoft.Net.Compilers

2. After that, your web.config file should be automatically updated. If it is not, look for the below code in your web.config file, and if found, remove this piece of code.


2017-07-29 22:20

Here is an easier MSBuild way.

But I notice that the roslyn files are also in my bin directory (not the folder). However, the app works.


2017-10-07 23:49

A clean and rebuilt job for me!

Edit:

Hello friends! In today's article we will figure out why, in some cases, after reinstalling operating system drivers are not installed on the video card... This question is very interesting and is often asked in the comments on our website "they say we reinstalled the operating system, but we cannot install the driver on the video card (it probably broke)". This is most often the case for laptops with Intel + ATI switchable graphics. We generally cannot install drivers on AMD Radeon HD 6xxxM series and Radeon HD 7xxxM series video cards, but if you have NVIDIA graphics card, then everything said below also applies to you.To better understand the essence of the problem, we will publish one letter from our reader.

  • Hello remontcompa! The question is. Lenovo G770 laptop, reinstalled the Windows 7 operating system, the installation was successful, then I entered the Device Manager and realized that I had to tinker with the drivers. I downloaded all drivers on the official website http://www.lenovo.com/ru/ru/ , the drivers were successfully installed besides the driver on the video card. As you can see on the screenshot, I have two video cards on my laptop,

This is the so-called switchable Intel + ATI graphics, that is, an integrated graphics card from Intel (Intel HD Graphics) and a discrete AMD Radeon HD 6700M.

In other words, my laptop supports the function of switching video cards. Energy-saving graphic works with applications that do not require a lot of power. Intel processor, and with games and other energy-consuming programs, a high-performance graphic AMD processor Radeon HD 6700M.
I install the driver according to your article, download the utility automatic installation AMD Driver Autodetect drivers, but at the very beginning of the driver installation this error appears.
Can't download the program AMD Catalyst Mobility due to its incompatibility with the hardware or software on your computer.
Your computer's graphics adapter version is not supported. Check with your laptop manufacturer for an updated graphics driver
.

According to your article, I downloaded the driver to the video card manually, but when you install it, this error also appears.

Why are the drivers not installed on the video card and what to do in this situation, the Windows 7 operating system is licensed?

Drivers are not installed on the video card

Just yesterday, a friend of mine brought me almost the same laptop to work and immediately asked: “Listen, uncle, why drivers are not installed on the video card, after all, the drivers were installed for all the components, but there were no drivers on the AMD Radeon video card, I reinstalled Windows several times, I didn't download the drivers from anywhere, in short, help me out ”.
Let's help my friend out while also learning how to deal with this common mistake. Such a mistake " The AMD Catalyst Mobility Utility cannot load because it is incompatible with the hardware or software on your computer"you can get when installing the driver on the AMD Radeon video card and it doesn't matter if you have a laptop or a simple stationary computer... The point is this. Drivers need to be installed in the right order, by the way, this is written on all websites of laptop manufacturers, take at least the same Lenovo.
"It is recommended that you install the chipset driver first, then the other internal devices such as Ethernet adapter, audio device, video adapter, and finally external device drivers. "

That's the whole secret. Some readers may ask - What are these "Chipsets?" These are friends, nothing more than drivers for a chipset motherboard, and this is a basic driver, if you do not install it in the first place, drivers for other laptop components may simply not be installed (as in our case) or will be installed, but these devices will not always work well and reliably, for example, the sound will periodically disappear or it will be quiet, and devices connected to USB ports will not always be detected, and so on.

More than once I have heard the wrong opinion even experienced users, that "there are drivers for the mother in the Windows itself" is that they are, but how ancient are they, these drivers?

  • Note: the most recent driver for the motherboard chipset is available, in our case Intel. You may also find useful our articles on this topic.

In our case, the first thing to do is to set driver for motherboard chipset, the second step is to install the driver for Integrated Intel HD Graphics, and only then install driver for AMD Radeon HD 6700M.

Our laptop is Lenovo G770, so we go to the site http://www.lenovo.com/ru/ru/. Choosing Support and Drivers.

Drivers and software,

Enter G770 and press Enter on the keyboard,

the page with drivers opens. First of all, click with the left mouse on the item Chipset

and reveal it. Intel Chipset driver for Windows 7 (32-bit, 64-bit) - Lenovo G770 is the driver for the chipset of our motherboard. Click for files.

Download now. Download the driver and run the installation.

After the installation is complete, open the Display and Video Graphics item, select Intel Onboard Graphics Driver for Windows 7 (64-bit) - Lenovo G770 Notebook (this is the driver for the integrated video card from Intel (Intel HD Graphics) for our operating room Windows systems 7 (64-bit). Click for files.

Download now. Installing the driver on the integrated graphics.

And now friends, we got to the driver for our AMD Radeon HD 6700M video card. Here we can go in two ways. First, download the driver here, select AMD Video Driver for Windows 7 (32-bit, 64-bit) - Lenovo G770, click for files.

AMD Video Driver Download now.

Download and install the driver for our AMD Radeon HD 6700M video card. No mistakes. The driver is installed.

Secondly, you can go to the site of our ATI video cards:

And download the automatic driver installer AMD Driver Autodetect... Technology automatic search drivers from AMD detects your video card and operating system, and if there is a new driver, you just need to press one button AMD Driver Autodetect and the driver will start downloading and the process of installing it immediately.

But often with its help it is not possible to establish the most new driver to your graphics card and we get the error "Can't load AMD Catalyst Mobility program" Why? Friends, I tried to figure it out many times, but then I noticed that on the same laptops this AMD Driver Autodetect starts up then no, most likely the error lies in it.

But on the other hand, it will always be possible to install the driver on the video card by downloading it manually, for details see our article "How to install the driver for an ATI video card" (link at the beginning of the article). Let's do this together again. We go to the download center for AMD graphics cards:

http://support.amd.com/ru-ru/download... If we need a driver for an AMD Radeon HD 6700M laptop video card, select Notebook Graphics, if you have a simple computer, select Desktop Graphics, then the series, product model and operating system, then press the DISPLAY RESULTS button (view the result).

The first is a verification tool - AMD Mobility Radeon ™ Driver Verification Tool, which will give the result of compatibility between the driver we are downloading and our operating system, if you are sure that you have selected the correct driver, then click Download just below and download your driver, then install.

Well friends, we have sorted out the question of why the drivers are not installed on the video card modern laptop with switchable video.
If you fell into your hands Lenovo laptop, then you can, in exactly the same way, install all other drivers on it: sound, web-camera, card reader, TouchPad, network driver, WI-FI and so on.