How Should I Set Default Python Version In Windows?

This is if you have both the versions installed. Go to This PC -> Right-click -> Click on Properties -> Advanced System Settings. You will see the System Properties. From here navigate to the “Advanced” Tab -> Click on Environment Variables. You will see a top half for the user variables and the bottom half for System variables. Check the System Variables and double-click on … Read more

Color echo in batch files

It’s probably easier if you call a custom C++ program. Although it’s not really necessary to do something like this, it’s possible. There’s a pre-made C++ script compiled into something Windows can run at http://www.codeproject.com/Articles/17033/Add-Colors-to-Batch-Files The site explains mostly everything you need to know, but I’ll give some help an examples here. The color codes you can use … Read more

Rainbow Matrix CMD

I want to run the Matrix.bat CMD with a different color on each line to make a rainbow effect. Here is the Matrix.bat I have tried experimenting myself but have not succeeded with my low level experience. Here is where I got with my experimentation. When I tried this it changed the whole command prompts … Read more

What does %~dp0 mean, and how does it work?

Calling in the command-line gives help about this syntax (which can be used outside FOR, too, this is just the place where help can be found). In addition, substitution of FOR variable references has been enhanced. You can now use the following optional syntax: The modifiers can be combined to get compound results: In the … Read more

What does %~dp0 mean, and how does it work?

Calling in the command-line gives help about this syntax (which can be used outside FOR, too, this is just the place where help can be found). In addition, substitution of FOR variable references has been enhanced. You can now use the following optional syntax: The modifiers can be combined to get compound results: In the … Read more