CMD / PowerShell / Anaconda prompt “The system cannot find the path specified”

Problem description:

Open a command prompt (cmd.exe), PowerShell, Anaconda rample, etc. which results in “The system cannot find the path specified”

Principle

On Windows, open Command Prompt (cmd.exe) or similar Anaconda prompt. The following two registry entries will be detected automatically:

HKEY_LOCAL_MACHINE\Software\Microsoft\Command handler
HKEY_CURRENT_USER \ Software \ Microsoft \ Command handler

If these two items have a value called “AutoRun”, then its value (likely an EXE or BAT file) will be “AutoExec-like”) so you need to check two registry entries, contents (both items can have “AutoRun” which are Non-detailed request will be fulfilled in order – those interested can write 2 bat files to view)

he decided

Press the keyboardwin+rWritesregedit(Or type the command lineregedit) Open the registry and look at the following two registry entries

HKEY_LOCAL_MACHINE\Software\Microsoft\Command handler
HKEY_CURRENT_USER \ Software \ Microsoft \ Command handler


Double click on “autorun” to view its value After searching for “autorun” check if the file (command) is running (reasonable) and my personal situation is “conda_hook.bat” the location is wrong, I changed it to the correct path (I read it and no I understand what this file is supposed to do, and there was no reason to bat rules).

About Win + R commands.

  1. win+rIf the file name you entered is .exe, and . bat, and so on.
  2. win+rYou can run the program quickly with admin permissions like enterwin+rWritescmdPay attention at this timeDon’t press Enterinstead ofCTRL + SHIFT + ENTERCurrently, this is equivalent to running the program in administrator, which may result in “whether the device is allowed to modify XXX” and the like.

Leave a Comment