To save space in a script, you can use VBScript's colon (:) to join two lines of code. Using a colon tells Windows Script Host (WSH) to treat the code that follows as if it were a new line. For example, you can join these two lines of code
strUrgent = "This variable contains my urgent text string."
by inserting a colon between them:
You aren't limited to using the colon to join variables with their declarations. You can use the colon to join any two lines of code. You just need to put a space before and after the colon.