windows - Set proper paths for VS Command Line Compiler -
i installed vs15 - preview (stripped down version of visual studio 2015). able compile c/c++ sources inside ide, not able compile command line interface cl.exe. can't find c stdlib headers. tried use vcvars32.bat set proper reg values seemingly cant find "common tools folder". "error: cannot determine location of vs common tools folder." the script uses env. variable "%vs150comntools%". if try run "cd %vs150comntools%" cmd line, can't find path, seems main problem. how can manually set %vs150comntools% right path? how can set cmd linker settings manually (without telling cl.exe every time call it)? okay, solved adding path include directories , lib directories env. variables "include", "lib". works now, whyever script not able set values properly. not fluent in reading .bat let away writing in, assume directory structure, different vs15 preview when compared full version, had not been adapted yet.