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

Solved
Osc4ro Posted messages 11 Status Member -  
Osc4ro Posted messages 11 Status Member -
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 answers

  1. barnabe0057 Posted messages 14329 Registration date   Status Contributor Last intervention   4 930
     
    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
    1. Osc4ro Posted messages 11 Status Member
       
      Thank you, but unfortunately it's still not working.
      0
      1. barnabe0057 Posted messages 14329 Registration date   Status Contributor Last intervention   4 930 > Osc4ro Posted messages 11 Status Member
         
        echo %PATH%
        0
      2. Osc4ro Posted messages 11 Status Member > barnabe0057 Posted messages 14329 Registration date   Status Contributor Last intervention  
         
        0
  2. barnabe0057 Posted messages 14329 Registration date   Status Contributor Last intervention   4 930
     
    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
    1. Osc4ro Posted messages 11 Status Member
       
      So I just need to leave: C:\Users\opors\Desktop?
      0
    2. barnabe0057 Posted messages 14329 Registration date   Status Contributor Last intervention   4 930 > Osc4ro Posted messages 11 Status Member
       
      Yes, or you can add the bot folder:
      C:\Users\opors\Desktop\bot
      0
    3. Osc4ro Posted messages 11 Status Member > barnabe0057 Posted messages 14329 Registration date   Status Contributor Last intervention  
       
      It still shows the same thing.
      0
    4. NHenry Posted messages 15235 Registration date   Status Moderator Last intervention   387 > Osc4ro Posted messages 11 Status Member
       
      By putting " around your path?
      Because by default, a space means the end of the previous argument.
      0
    5. barnabe0057 Posted messages 14329 Registration date   Status Contributor Last intervention   4 930 > Osc4ro Posted messages 11 Status Member
       
      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