Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


How to Display and Send Special Characters in Dialog Box

Keywords:   special characters	 ampersands & 

Question:

I would like to include several special characters in a dialog box. I couldn't find anything on how to do it and my guesses were wrong. How would I get a & and a " to display as themselves.

Answer:

  1. For &

    Use two of them in a run, message, or sendkeys statement.

  2. For "

    Quote the string contining the " with different kind of quotes. WinBatch recognises all three kinds of quotes " ' and `

    Just begin and end the string with the same kind.


Article ID:   W13213
Filename:   Display and Send Special Characters such as Ampersands.txt