I am generating a Guid in a batch file, then I need to wrap that Guid in curly braces. How do I do that?
for /f %%i in ('"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\uuidgen.exe"') do set guid=%%i
ECHO %guid%
pause
set guid = "{"%guid%"}"
ECHO %guid%
My solution doesnt seem to work. Any ideas?