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
The "\" (=backslash) is used as escaping character. You will need to double it.
Replace backslash '\' by double backslashs '\\' as follow
sendevent -E SET_GLOBAL -G "varname=D:\\Program Files\\Tests"
Was this information helpful?