4 ms·
Powershell is better than batch (.bat or .cmd) files. I remember when I was new to shell scripts, thing like basic if loops felt clunky. I would see something
by criddell 5y ago
Powershell is better than batch (.bat or .cmd) files.
I remember when I was new to shell scripts, thing like basic if loops felt clunky.
I would see something like "if [ -r $1 ] && [ -s $1 ]" and not even now where to start. Case statements I could only write by taking an existing one and modifying it.
These days I tend to use Python for all my scripting everywhere I can.