How to use "escape of Parameter"

Can Someone help with this escape of parameter. DO i need curly bracket. I am still new on this substitution.

when I enter (\tomjerry\um) in action parameter (UpdatePath). In UpdatePath section in file, The end result shows as UpdatePath=\\tomjerry\um instead of UpdatePath=\tomjerry\um

it shows four Four backslash tomjerry two backslash um instead of two backslash tomjerry one backslah um

action parameter query “UpdatePath” with description "Enter the Update Path.%0d%0a%0d%0aFor example: \relaycomputer\office201636564bitUpdates " with default “”

rem Createfile until ENDFILE2
rem Configuration>
Updates Enabled=“TRUE” UpdatePath="{escape of parameter “UpdatePath” of action}" />

/Configuration>

ENDFILE2

"One of the rules of the .reg file is that any 's in the value field need to appear as double slashes, that is \. "

regset "[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion]" 
  "SourcePath2"="c:\\I386"
regset "[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion]" 
  "SourcePath2"={escape of "c:\I386"}

Read more from here