When using mongoimport to import data in WIN10 system, mongoimport cannot be found because there is no mongoimport.exe in the bin folder of the mongodb installation directory. So even if the environment variable is added, it is useless.
Solution:
1. Download MongoDB Database Tools at https://www.mongodb.com/try/download/database-tools?tck=docs_databasetools.
2. After the download is complete, unzip, copy and paste all the .exe files in the bin folder of the compressed package to the bin folder of your MongoDB installation directory (the installation directory here is D:\DevelopTools\mongodb\bin).
3. Add the mongodb database installation directory all the way to the bin folder to the environment variable Path, (here is D:\DevelopTools\mongodb\bin)
4. After completion, enter the mongoimport test again, as shown in the figure below, the problem is solved.