I've worked it out, first I need to do a;
cl /clr "test.cpp"
Link "Test.obj" /out:"testing.exe"
There is one problem with this though, that is it doesn't give me an icon.
Doing it manually using the GUI, it does include an icon.
So any ideas on how I can embed the icon via the CLI?