Gah! Microsoft!
-
I just discovered that VsDevCmd.bat turns echo off!
-
I just discovered that VsDevCmd.bat turns echo off!
I remember there was this email client (in a text mode terminal) that didn't mask passwords. I have no recollection what it was called, this was about a century ago. People used to cover the screen with one hand to hide it as they typed. Everyone thought it hilarious, but this would've come in handy at the time.
-
I just discovered that VsDevCmd.bat turns echo off!
I've used ECHO OFF in many a batch file during my DOS days. Not only that, @ECHO OFF would also suppress the ECHO OFF command itself. It kept the output very clean...but ultimately (and this is probably what you're getting at) it doesn't belong in environments where you're debugging and want to see the output of everything. But once I got my batch files going, they would *all* start that way. I don't know why I was so obsessed with keeping the output to a minimum. Probably because I wrote batch files to automate things for non-technical people, and seeing *anything* at all would cause panic among them. I don't miss batch files. Despite its idiocratic syntax sins, I still like PowerShell.
-
I've used ECHO OFF in many a batch file during my DOS days. Not only that, @ECHO OFF would also suppress the ECHO OFF command itself. It kept the output very clean...but ultimately (and this is probably what you're getting at) it doesn't belong in environments where you're debugging and want to see the output of everything. But once I got my batch files going, they would *all* start that way. I don't know why I was so obsessed with keeping the output to a minimum. Probably because I wrote batch files to automate things for non-technical people, and seeing *anything* at all would cause panic among them. I don't miss batch files. Despite its idiocratic syntax sins, I still like PowerShell.
Yes, and if a batch file turns off echo it should turn it the :elephant: back on again at the end.