My file is not recognized as an internal or external command.

Solved
Osc4ro Posted messages 11 Status Membre -  
Osc4ro Posted messages 11 Status Membre -
Hello,
Since yesterday, when I type the location of my folder, it displays that whether in the command prompt or in the Node.js command.
However, I added the location to the path, but it does not work.

Attached are the screenshots

Configuration: Windows / Opera 72.0.3815.459

2 réponses

barnabe0057 Posted messages 14431 Registration date   Status Contributeur Last intervention   4 929
 
Hello,

You made a small mistake in the console when typing the path to the bot; you wrote C:\Users\Desktop instead of C:\Users\opors\Desktop

“Artificial intelligence is defined as the opposite of natural stupidity.”
0
Osc4ro Posted messages 11 Status Membre
 
Thank you, but unfortunately it's still not working.
0
barnabe0057 Posted messages 14431 Registration date   Status Contributeur Last intervention   4 929 > Osc4ro Posted messages 11 Status Membre
 
echo %PATH%
0
Osc4ro Posted messages 11 Status Membre > barnabe0057 Posted messages 14431 Registration date   Status Contributeur Last intervention  
 
0
barnabe0057 Posted messages 14431 Registration date   Status Contributeur Last intervention   4 929
 
The last 2 lines are incorrect:


You must indicate only a folder and not an executable and its parameters.

“Artificial intelligence is defined as the opposite of natural stupidity.”
0
Osc4ro Posted messages 11 Status Membre
 
So I just need to leave: C:\Users\opors\Desktop?
0
barnabe0057 Posted messages 14431 Registration date   Status Contributeur Last intervention   4 929 > Osc4ro Posted messages 11 Status Membre
 
Yes, or you can add the bot folder:
C:\Users\opors\Desktop\bot
0
Osc4ro Posted messages 11 Status Membre > barnabe0057 Posted messages 14431 Registration date   Status Contributeur Last intervention  
 
It still shows the same thing.
0
NHenry Posted messages 2510 Registration date   Status Modérateur Last intervention   385 > Osc4ro Posted messages 11 Status Membre
 
By putting " around your path?
Because by default, a space means the end of the previous argument.
0
barnabe0057 Posted messages 14431 Registration date   Status Contributeur Last intervention   4 929 > Osc4ro Posted messages 11 Status Membre
 
Add
C:\Users\opors\Desktop\bot
in the window:


I don’t remember if a restart is needed for the changes to take effect.

Then in the console, you can simply type: discord mces
0