1.

Solve : Running old batch files on Win 10?

Answer»

Hard drive died. Got a new PC  with windows 10 installed. The previous batch FILE routine to compile C++ code WORKED fine on the old machine. Now they don't work. I get the "external internal command not recognized etc. error message. I assume Win 10 comes with a C++ compiler in Visual Studio  and there is a path statement in the bat file. Also I am familiar with changing the system path in the environment variables but I' :'(m not SURE what goes where. Has anyone else had this problem when changing over to wWin 10 Windows 10 doesn't come with Visual Studio or C++.Curious why you need to compile C++ from WITHIN a batch file. What IDE did you write your code in, you should be able to compile it there.... or do you have a batch file that dynamically generated the .cpp and then called to a command SHELL level compiler and then called to the EXE that is produced to execute it with dynamic info as part of the generated .cpp file?   

Interested in if you share your batch here what it actually does...I'd guess that it is effectively a makefile that is stored with the source code, and runs the cl compiler.He moght want to see th is:
https://www.visualstudio.com/vs/visual-studio-express/
Quote

Try out Visual Studio Community for a fully-featured and extensible IDE; An updated alternative to Visual Studio Express.
It incldues a C++ IDE.

Can you post the source code of your batch file and explain more what's your issues ?
Thank you !


Discussion

No Comment Found