Advertisement
Guest User

Untitled

a guest
Oct 24th, 2014
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main() {
  6. string currentPath;
  7. string futurePath;
  8. cout << "Vvedit shlyah do faylu" << endl;
  9. cin >> currentPath;
  10. cout << "Vvedit shlah kopiuvannya" << endl;
  11. cin >> futurePath;
  12. string copyFromTo = "COPY " + currentPath + " " + futurePath;
  13. system(copyFromTo.c_str());
  14. return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement