I have a CMD batch file which takes a long time to process and I wish to alert the user that some input is required by flashing the CMD window.
This example works great in powershell but if I try to compile it from within CMD by
powershell -c "Add-Type -TypeDefinition @\";"^
"using System;"^
..... and so on
it fails at the very first line. Similar problem discussed here but looks like there was never a solution given.
So, does anyone have ideas as to how I can make this work and get my CMD window to flash?
edit: @mklement0's answer got me in the right direction. THANK YOU.