How to display double quotes

I want to assign a path to a variable like
powershellPath=powershell -file “C:\Download.ps1”

and I want to display it in the message box like

powershell -file “C:\Download.ps1” with the quotes. If there is a way, please help me, guys.

I even tried using triple quotes as suggested in the forum.

The approach I tried: "powershell -file ““C:\Download.ps1"””

Try this -

"powershell -file \" C:\\Download.ps1 \" "

1 Like

Hi thanks for the suggestion. I tried with that too but still its giving me an error.

Try this -

Assing a variable, powershellPath=powershell -file ""C:\Download.ps1""
In the message box, just give variable name - powershellPath

actually this works for me
what version of studio are you using?
DoubleQuotedString.xaml (5.0 KB)

1 Like

works even with assigning a variable DoubleQuotedString.xaml (5.6 KB)


I have already tried this but this isn’t working for me and I am using UiPath 2019.30 wit the .Net frame work version4.7.2

1 Like

Okay thanks. This worked for me as I wanted.

1 Like

@anil5 can you share your thoughts here?

i am using 2019.2.0 and it works where as OP is using 2019.3.0 and it doesnt work?

oh cool :smiley:

1 Like

You can also use the function

JothyPrasanth M

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.