.bat files, nonblocking run/launch

start “MY EXE” my.exe That kicks the exe off in the background (and avoids title issues, see below). The start command offers some options too, use start /? to list them: C:>start /? Starts a separate window to run a specified program or command. START [“title”] [/D path] [/I] [/MIN] [/MAX] [/SEPARATE | /SHARED] [/LOW … Read more

How to run different python versions in cmd [duplicate]

I also met the case to use both python2 and python3 on my Windows machine. Here’s how i resolved it: download python2x and python3x, installed them. add C:\Python35;C:\Python35\Scripts;C:\Python27;C:\Python27\Scripts to environment variable PATH. Go to C:\Python35 to rename python.exe to python3.exe, also to C:\Python27, rename python.exe to python2.exe. restart your command window. type python2 scriptname.py, or … Read more

how to get python installed path from command line [duplicate]

try opening up cmd and simply: where python By default, this searches your PATH for matches. More precisely: Description: Displays the location of files that match the search pattern. By default, the search is done along the current directory and in the paths specified by the PATH environment variable. Most windows python installers modify your … Read more

Why does calling a nested batch file without prepending “call” to the line exit the parent batch file?

DOS used simple text processing (back when you had things like FILES=20 in config.sys to allow 20 file handles), so opened the file, read the next line, closed the file, then executed the line just read. If the file called another, then the processing continued with that file, so only 1 file handle would be … Read more

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