I am learning C and am downloading a GitHub repository through code. This downloads the code to the current working directory (essentially where the C app is executed from). Is there a way to set the download directory?
Meaning always always have the file download to C:\Data\ProdData\
#include <stdlib.h>
int main(void)
{
return system("git clone https://github.com/manleyManlious22/TestData");
}