21-03-24 01:46 PM - last edited on 28-03-24 03:36 PM by Kev_B
Hi all,
using the write stage I pass on this string to a SAP GUI field:
"C:\\testfolder\\testfile.txt"
However, the value that arrives there looks like this
"C:testfoldertestfile.txt"
Does anyone know what could be the reason for this or how to get around this problem?
Many thanks
Gerrit
Answered! Go to Answer.
23-03-24 02:12 PM
Hello,
Have you tried using "/" in the text field?
Regards,
23-03-24 02:12 PM
Hello,
Have you tried using "/" in the text field?
Regards,
25-03-24 06:47 AM
Dear Leonardo,
that worked - thank you!
Kind regards
Gerrit
Kind regards
25-03-24 01:13 PM
The reason you're seeing "C:testfoldertestfile.txt" in the SAP GUI field instead of "C:\testfolder\testfile.txt" is because of the way backslashes are interpreted.
In Windows, backslashes () are used as path separators. However, some systems, including SAP GUI, might treat backslashes as escape characters. An escape character tells the system to interpret the following character literally, instead of as part of a special sequence.