Julia Frid:
set MS=C:\Program Files (x86)\Bentley\MicroStation V8i (SELECTseries)\MicroStation
If you plan to do a lot of development then it's a good idea to set that environment variable permanently in Windows.
This article discusses MDL development and Windows environment variables.