?
Solved

VBScript output to CLI - can text be assigned color?

Posted on 2006-10-20
3
Medium Priority
?
702 Views
Last Modified: 2008-02-01
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
Comment
Question by:johndarby
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 71

Accepted Solution

by:
Chris Dent earned 2000 total points
ID: 17787191

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
 
LVL 1

Author Comment

by:johndarby
ID: 17791238
Thanks chris...I appreciate the help.
0
 
LVL 71

Expert Comment

by:Chris Dent
ID: 17792044

No problem.

Chris
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month11 days, 20 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question