I am making a batch script and have googled around on how to put the output of a command into a variable, however this code grabs the entire output, where as I only need the first 4 digits up to the colon. (in my case)

here is a an example output of debug.exe:

```
0ADE:0AC0

```

So, in this case the value of myvar should be 0ADE.
here is the code:

```
for /f "tokens=* usebackq" %%a in (`echo s 100 8000 74 00 5c 00  4f`) do (set myvar=%%a)

```

I think I might need the delims paramater but cant figure out how to use it with batch being how it is.