How to run Pip commands from CMD

Little side note for anyone new to Python who didn’t figure it out by theirself: this should be automatic when installing Python, but just in case, note that to run Python using the python command in Windows’ CMD you must first add it to the PATH environment variable, as explained here. To execute Pip, first of all make sure you have it … Read more

Defining and using a variable in batch file

The space before the = is interpreted as part of the name, and the space after it (as well as the quotation marks) are interpreted as part of the value. So the variable you’ve created can be referenced with %location %. If that’s not what you want, remove the extra space(s) in the definition.

“if not exist” command in batch file

You have it almost done. The logic is correct, just some little changes. This code checks for the existence of the folder (see the ending backslash, just to differentiate a folder from a file with the same name). If it does not exist then it is created and creation status is checked. If a file … Read more

“if not exist” command in batch file

You have it almost done. The logic is correct, just some little changes. This code checks for the existence of the folder (see the ending backslash, just to differentiate a folder from a file with the same name). If it does not exist then it is created and creation status is checked. If a file … Read more

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