Ici is a video tutorial I créé that shows comment set a folder to the path environmental variable in Windows 11.
Alternatively, below is a step-by-step description du processus avec captures d'écran.
As an example, I'll be adding C:\Users\SomeApp, parce que Je veux be able to start example.exe located in C:\Users\SomeApp\example.exe.
On the lower middle section of your écran where it says "Search", tapez "panneau de configuration" and naviguez vers your Panneau de configuration.
The window that pops up is the Panneau de configuration. Click "Système and Sécurité" en haut left-hand side of this window.
In the next window, sélectionner Système.
In the middle du next écran, sélectionner Advanced système paramètres
On the panel that pops up, click "Environmental Variables..."
On the next panel, sélectionner Path and ensuite Edit...
On the panel that pops up, sélectionner Nouveau.
Ceci est where we will put the chemin. Dans mon cas, I will type: C:\Users\SomeApp as shown below.
Sélectionnez "Ok" on all three open panels and redémarrer invite de commandes and vous allez be good to go!