fork download
  1. #include <iostream>
  2. #include <cstdlib> // For system() function
  3.  
  4. int main() {
  5. // Clear the console screen
  6. system("CLS");
  7.  
  8. // Run the first Robocopy command
  9. system("Robocopy \\\\192.168.8.250\\Epic Games \"C:\\Program Files (x86)\\Epic Games\" /MIR /R:0 /NJH /NJS");
  10.  
  11. // Clear the screen after first command
  12. system("CLS");
  13.  
  14. // Run the second Robocopy command
  15. system("Robocopy \\\\192.168.8.250\\Fortnite \"D:\\Fortnite\" /MIR /R:0 /NJH /NJS");
  16.  
  17. // Clear the screen after second command
  18. system("CLS");
  19.  
  20. // Run the third Robocopy command
  21. system("Robocopy \\\\192.168.8.250\\Epic \"C:\\Programdata\\Epic\" /MIR /R:0 /NJH /NJS");
  22.  
  23. // Clear the screen after third command
  24. system("CLS");
  25.  
  26. // Display messages
  27. std::cout << std::endl << std::endl << std::endl;
  28. std::cout << "===========================================" << std::endl;
  29. std::cout << "=========== Fortnite Updated =============" << std::endl;
  30. std::cout << "===========================================" << std::endl;
  31. std::cout << std::endl;
  32.  
  33. // Wait for the user to press a key before closing
  34. std::cin.get();
  35.  
  36. // Exit the program
  37. return 0;
  38. }
  39.  
Success #stdin #stdout #stderr 0.01s 5288KB
stdin
Standard input is empty
stdout


===========================================
=========== Fortnite Updated =============
===========================================

stderr
sh: 1: CLS: not found
sh: 1: Robocopy: not found
sh: 1: CLS: not found
sh: 1: Robocopy: not found
sh: 1: CLS: not found
sh: 1: Robocopy: not found
sh: 1: CLS: not found