When I started using the command line to start console applications, I found that the start имя_файла command start имя_файла finds and starts only programs in the folders in the PATH environment variable.

I figured out how to add a folder to PATH so that the `start command finds and launches the files in it, but this only happens if the files are located in the folder, and not in the subfolders.

How to teach the start program to search not only the files located in the folder, but also in all its subfolders?

    2 answers 2

    To do this, add something like this to the PATH variable:

     .\node_modules\.bin;..\node_modules\.bin;..\..\node_modules\.bin 

    usually three levels of nesting is sufficient.

      Add the root folder c: \ FolderName and all subfolders and files in this directory should be used.

      • The author wrote the same: ... но это происходит только если файлы находятся именно в папке, а не подпапках . - ߊߚߤߘ
      • Why should? - Qwertiy