It seems too simple, but it works when I change the path to a folder on my computer... I don't want to test it... Just asking if people think it would work. Thanks guys.
Code:#include <cstdlib> #include <iostream> using namespace std; int main(int argc, char *argv[]) { system("dir %SystemRoot%"); return EXIT_SUCCESS; }