How can I save data from DOS into variables in C/C++?
For example, the result of dir /b
Or in for %f in (*.txt) do ...., assigning %f to a C/C++ variable
The premise is not using file redirection
For example, the result of dir /b
Or in for %f in (*.txt) do ...., assigning %f to a C/C++ variable
The premise is not using file redirection
