There are scenarios where we want to read files from a path such as
In this article, we show you how to specify paths such as
\\tsclient\Z\Foreign workers\Contracts in the "Calculate a value" parameter of an activity.
Using double backslashes
To specify a backslash (\) in the "Calculate a value" parameter, we need to prefix it with another backslash. So, the result is \\.
If you need to specify two backslashes as in the path
\\tsclient then you need to prefix each backslash in the path with a backslash as
Here is an example. Let's say that we need to fill the "Calculate a value" parameter with the path
Considering the instructions above, the resulting value must be:
Using normal slashes
As an alternative, we can also use a normal slash (/).
"C:\\Exch\\" + expDate + ".csv"
"C:/Exch/" + expDate + ".csv"