title: Fatal error when trying to compile C++: cannot open file 'kernel.32.lib'
body: <p>I am totally new to C++ and just finished setting it up with Visual Studio and VSCode, however, when I try to do
  <code>cl file.cpp</code> in the file directory, I am returned an error:<code>LINK : fatal error LNK1104: cannot open file 'kernel32.lib'</code>.<br>
  I have seen some similar queries across the site, but they either reference old versions of Visual Studio (I'm using 2019) so I haven't managed to fix the issue.<br>
  I have seen something saying that the file should be stored in the same location as the compiler but they currently aren't because the Compiler is on a small drive and want to keep the code on a larger drive.<br>
  Any help will be greatly appreciated.</p>