Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 708
  • Last Modified:

VBScript output to CLI - can text be assigned color?

I am currently using Wscript.echo to output text. Is there a way with this command (or another) to specify the color of the text?
Thank you!
JohnD
0
johndarby
Asked:
johndarby
  • 2
1 Solution
 
Chris DentPowerShell DeveloperCommented:

Hi John,

In short... No. VbScript just doesn't have anything in the way of output colour formatting (or output formatting at all other than spaces, tabs and line breaks).

I believe you could use ActiveX to create HTML type output and display that - but it wouldn't be command line based and I'm afraid I have very little idea how to do so.

Chris
0
 
johndarbyAuthor Commented:
Thanks chris...I appreciate the help.
0
 
Chris DentPowerShell DeveloperCommented:

No problem.

Chris
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now