I am trying to change the current PATH dynamically after the editor is opened. My idea is to add a new directory to the path. This directory will contain some .exe files.
process.env.PATH = process.env.PATH + ";" + "C:\\MyNewPathWithExes\\"
After changing the path, I am trying to execute some of these .exe files but Atom says that these .exe files don`t exist. Is it possible to change the PATH dynamically in Windows?
P.S: I am having success adding new scripts to the path using Linux. My problem is only with windows.