Hello
I am trying to make this a string but the quotes inside confuse UiPath
how can i keep the quotes inside and still have UiPath consider this a string
/c echo off & print "\server123\abc" “E:\Users\ZANAB\Documents\test.doc”
Hello
I am trying to make this a string but the quotes inside confuse UiPath
how can i keep the quotes inside and still have UiPath consider this a string
/c echo off & print "\server123\abc" “E:\Users\ZANAB\Documents\test.doc”
Hi @adext
Can you try the below way:
"/c echo off & print ""\server123\abc"" ""E:\Users\ZANAB\Documents\test.doc"""
Hope it helps!!
yourStringVariable = "/c echo off & print ""\\server123\abc"" ""E:\Users\ZANAB\Documents\test.doc"""
Basic rule…any double quote("
) you want in astring should be escaped with another double quote(""
)
Cheers
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.