I should start off by saying I am using VS 2015,
I have a shell file in w:\work\misc
@echo off
mkdir ..\..\build
pushd ..\..\build
cl -Zi ..\work\misc\win32_main.cpp User32.lib
popd
but when I compile my code I get error link2019 unresolved external symbol imp_messagebox A.
Not sure what the problem is, when I compile from the ide itself without the command prompt my code works fine.