SET "gmail5=https://mail.google.com/mail/u/5/?tab=wm&ogbl#inbox" echo %gmail5%
The output is
H:\\local\\CODE\\Batch scr