markdown guide
 

DOS (actually "Batch files" as they're called):

  • trivial build scripts
  • backup scripts that have to be backwards compatible
  • shortcuts

PowerShell:

  • data processing scripts (where advanced filters/pipes are required)
  • non-trivial build scripts

PowerShell can be a bit hard to get used to (especially if you've done some Linux shell scripting before). One thing I personally like about PowerShell is that it attempts to keep things consistent (all from naming conventions to parameters and output formatting) and at some point you can start guessing command names.

DOS Batch files are easier to grasp but you often need weird hacks to get things working when you move on from most trivial scripting. Apart from that, they are in process of being replaced (but as it currently seems, batch files aren't going anywhere anytime soon).

 
 
 

Can I answer neither? I use the bash that is installed with git. Still on Windows 10, but since I'm used to bash this seemed like the more sensible option.

 
Classic DEV Post from Feb 22

What are some Browser plugins that you can't live without ?

What are some of your essential browser extension/plugin that make your life easier ?

FultonB profile image
I am an android developer trying to change the world with code.