#include <stdio.h> int main(int argc, char *argv[]) { if(rename(argv[1], argv[2]) != 0) printf("Rename Error"); return 0; }