DEV Community 👩‍💻👨‍💻

Fulton Browne
Fulton Browne

Posted on

power shell or DOS what do you use?

Top comments (5)

redcreator37 profile image

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

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


  • 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).

mburszley profile image
Maximilian Burszley

DOS hasn't been around since the 90s..

mellen profile image
Matt Ellen

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.

squigglybob profile image

Definitely bash ;0)

fultonbrowne profile image
Fulton Browne Author

I personally use power shell

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.