difference between command prompt and anaconda prompt

Anaconda command prompt is just like command prompt, but it makes sure that you are able to use anaconda and conda commands from the prompt, without having to change directories or your path. When you start Anaconda command prompt, you’ll notice that it adds/(“prepends”) a bunch of locations to your PATH. These locations contain commands … Read more

Getting “‘mongoimport’ is not recognized as an internal or external command, operable program, or batch file.” when trying to import data from a file

From Version 4.4.0 You have to install the MongoDB Database Tools separately, mentioned here. To install.Then to go the bin directory of Tools (mostly C:\Program Files\MongoDB\Tools\[version]\bin) and open command prompt there. Now execute the command here. This should work or else add .\in the beginning as mentioned by Cody w above. If you want to … Read more

batch file Copy files with certain extensions from multiple directories into one directory

In a batch file solution for /R c:\source %%f in (*.xml) do copy %%f x:\destination\ The code works as such; for each file for in directory c:\source and subdirectories /R that match pattern (\*.xml) put the file name in variable %%f, then for each file do copy file copy %%f to destination x:\\destination\\ Just tested … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)