0
Program to print the name of drive in which program is running
2 odpowiedzi
+ 2
If I understand your question properly,
you can search every drive for the executable of your program. when a match is found return the drive name.
0
Try using std::system(const char*)
then input your terminal commands in the parameters as a c-string(const char*)