3 ms·
I make a point of trying to use powershell for scripting stuff (instead of .bat files) and I kindof enjoy it, sometimes you get it to do something really smart.
by codeulike 5y ago
I make a point of trying to use powershell for scripting stuff (instead of .bat files) and I kindof enjoy it, sometimes you get it to do something really smart. But I can never get my head around the concatenation rules, and how they work when you're passing stuff to legacy Cmd shell commands. Something to do with the & symbol, and maybe speechmarks? But the " and ' work very differently? The problems come when you want to pass multiple arguments to a Cmd command ...
The end result is I can't really ever get much done without a lot of googling. But thats par for the course these days I guess.
- AnIdiotOnTheNet 5y agoI think passing things to legacy cmd shell is a pain regardless of what language you do it from because the argument separating is up to each application.