In WCC/Quickedit the backslash is removed from Global variable.

Document ID : KB000008787
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

In WCC Quickedit when you create or lookup a Global Variable that contains a backslash, the backslash is removed

sendevent -E SET_GLOBAL -G "varname=D:\Program Files\Tests"

is causing global variable to appear in form: 

varname D:Program Filestests

Environment:
WCC 11.4 on Linux/Unix/Windows
Cause:

The  "\" (=backslash) is used as escaping character. You will need to double it.

Resolution:

Replace backslash '\' by double backslashs '\\' as follow

sendevent -E SET_GLOBAL -G "varname=D:\\Program Files\\Tests"