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:
- For &
Use two of them in a run, message, or sendkeys statement.
- 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: W13213Filename: Display and Send Special Characters such as Ampersands.txt