devxlogo

Variable Within Quotation

Variable Within Quotation

Question:
Can you put a variable within quotations?For example:

Shell "Explorer.exe (?var)"

Answer:
You have to concatenate the two strings together. If your variable is named var, you would call the Shell statement like this:

Shell "Explorer.exe " & var

devx-admin

Share the Post: