11

6 Ways to Fix "The System Cannot Find The Path Specified" Error on Win...

 2 years ago
source link: https://www.makeuseof.com/windows-system-cannot-find-the-path-specified-error-fix/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

6 Ways to Fix "The System Cannot Find The Path Specified" Error on Windows

By Kim Fernandez

Published 9 hours ago

Is Windows struggling to find a path, even though you're sure it's legitimate? It's an annoying issue, but there are solutions you can try.

Are you currently seeing a “the system cannot find the path specified" error on your Windows computer? There are many other reasons you see this message, from simple mistakes such as typing a wrong path on your Command Prompt or a program installation failure.

However, it could also mean that there are registry problems in your system, such as invalid keys or, worse, a virus attack. That’s why if you see this error, don’t take it lightly. Here are six fixes you can do to solve this problem right away.

1. Check Your System for Viruses

Virus attacks may not be the most common reason you see the "the system cannot find the path specified" error. But it’s best practice to check your system for viruses before you proceed with other fixes. This ensures that your computer is safe and free from threats before you begin tweaking system settings.

If you have a third-party antivirus program installed on your computer, you can run it to check for threats. However, if you don’t have one, you can use the built-in antivirus program on your program, called Windows Defender. Here’s how:

  1. Press and hold Win + I keys to open Settings.
  2. Then, click Security & Update > Windows Security.
  3. Next, press Virus & threat protection.

    virus and threat protection
  4. Lastly, click Quick Scan.

    quick scan

The scan may take a while if you have a lot of files saved on your computer. Once it's done and no threats are found, go to the following fixes. If it found some threats, quarantine the files and check if it fixed the problem.

2. Verify the File's Path

If you’ve been getting this error message on the Command Prompt, check whether you’re typing the correct path or not. Most of the time, this is a human error where users are putting in the wrong path or name on the command line. So, go through your command again and ensure that the path is typed correctly.

If you're getting this error when trying to download files to your system, check if your default download folder is changed and ensure that the download location you have exists in your system.

3. Delete Any Invalid Paths in the Environment Variable

An environment variable contains data that can affect how running processes will behave in your system. So, if you run a program on your computer from the command line, the PATH environment variables play an integral role by saving the directory path that can be searched.

To understand how it works, imagine a computer with two different directories. If you are trying to run a program currently in a different directory, your system will search the directories recorded in the PATH variable. If the program is available in any directories, your system can run it without problems.

However, if you put in an invalid path variable, the process will be disrupted, causing the "the system cannot find the path specified" error. So, the best way to fix this problem is to delete the invalid paths from the Environment Variable.

Follow the instruction below to remove the paths:

  1. On your computer, open File Explorer.
  2. Then, look for This PC path on the left-side navigation, right-click on it and choose Properties.

    this PC properties
  3. In the new window, click the Advanced system settings link on the right-side section.

    advanced system settings
  4. From the Advanced tab on the System Properties window, click the Environment Variables button.

    environment variables
  5. Under the User variables section, check the Path variable by clicking on it and pressing the Edit button. This will display all the user variables.

    path user variables
  6. Next, check if the paths are correct and functioning. To do this, just copy the path and paste it on the address bar of the File Explorer. This will allow you to see if the File Explorer can find the path. If you can’t find it, the path is incorrect, and you have to Delete or Edit it. Do this on all the paths provided on the path variable. Once done, press OK.

    edit user path variables
  7. Then, under the System variables section, click the Path variable and press the Edit button.

    path system variables
  8. Repeat step six to check if all the paths are working.

    edit system path variables

You can all view all the path variables in the Command Prompt. Just type echo %PATH% and press Enter. However, it won’t tell you if the path is invalid or not.

4. Check Your System’s Registry

If you have edited the AutoRun keys in the Registry Editor, it might be the reason why you’re getting a "the system cannot find the path specified" error. The AutoRun keys function by performing a command automatically when opened. If the information specified in the keys is wrong, errors may occur. Follow the instructions below to solve this issue.

  1. Press and hold Win + R keys to open Run. Then type Regedit and press Enter.
  2. On the Registry Editor, copy this text

    regedit

    HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor and paste it on the address bar.

    registry editor address bar
  3. Next, check if there is an AutoRun key. If there is, Delete or Modify the data.

    Autorun key
  4. Lastly, check if you’re still having the same issue.

5. Run an SFC Scan

If none of the methods above work, you can run a System File Checker (SFC) scan to look for corrupted files in your system and fix them automatically. Here’s how:

  1. Press and hold Win + R keys to open Run. Then type cmd and press Enter.

    cmd
  2. On the Command Prompt, type sfc /scannow and press Enter.

    sfc scan now
  3. If SFC finds errors but can’t repair them, type this command after exe /Online /Cleanup-image /Scanhealth and press Enter.
  4. Then, type exe /Online /Cleanup-image /Restorehealth and hit Enter.
  5. Restart your computer and see if it fixes the issue.

6. Update Your Copy of Windows

The last thing you need to do to fix this error is update your Windows system. Running an outdated system can cause various issues to your system, including the "the system cannot find the path specified" error. Follow the steps below to upgrade your Windows:

  1. Open the Settings app on your system by pressing and holding Windows + I keys.
  2. From Settings, go to Update & Security > Windows Update.
  3. Then, click the Check for Updates button if there are any updates, download and install them.

    check for updates
  4. Restart your PC and check if you’re still experiencing the same error.

An Error-Free Windows Once More

Most of the time, the "the system cannot find the path specified" error is often caused by an invalid path or corrupted files in your system. After doing the fixes mentioned above, your system should run smoothly without errors. If you’re trying to run a program and getting this error, finding the correct install location of the software may help fix the problem.

About The Author

6188d1df4ad76-Business%20photo.jpg?fit=crop&w=100&h=100

Kim Fernandez (57 Articles Published)

Kim is a technical writer who is passionate about animal welfare and the environment. A writer by day and a reader at night, she takes pleasure in acquiring new knowledge. She is an experienced researcher and advertising executive. In an alternate universe, she is a professional model.

More From Kim Fernandez

Subscribe to our newsletter

Join our newsletter for tech tips, reviews, free ebooks, and exclusive deals!

Click here to subscribe

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK