|
![](/i/fill.gif) |
On 27/08/2013 11:57 PM, clipka wrote:
> As for them not wanting you to use it, what they do want you to use
> nowadays is the PowerShell. Not that I've ever heard of anyone using it
> to solve any scripting tasks though: They either seem to be using .bat
> files for cmd.exe, or asking you to install python.
As somebody who spends all day writing Bash scripts, the old DOS
interpreter seems horrifyingly primitive. (You know how you put command
output into a variable? YOU DON'T!) From what little I've seen
PowerShell gives you all the power of COM, but it's STILL awful to use.
(OK, so if you do a Google search, there is actually a workaround for
grabbing command output in a variable. You can do this:
foo.exe > temp.txt
SET /P VAR < temp.txt
Isn't that intuitive?)
Post a reply to this message
|
![](/i/fill.gif) |