ECHO off
ECHO MOVE C:\mongo* C:\mongodb
setx MYPATH "%PATH%;C:\mongodb\bin"

ECHO on
FOR /f %%i IN ('dir /ad /b "C:\" ^|findstr /I "mongo"') DO set dest=%%i
ECHO MOVE C:\%dest% C:\mongodb\
setx MYPATH "%PATH%;C:\mongodb\bin"

Revert "Removed for loop and used MOVE command with wildcards"
Revert "Removed for loop and used MOVE command with wildcards"

This reverts commit d4e2e10962b2c4e05b9f54cef8d12e6e4cdff7f2.

I am an idiot and glob commands / wildcards don't work in batch
scripts. Thanks Microsoft.
