   renaming of files
  How does one rename a target file?What command is there?-CProgrammer 
  in Win32, look into MoveFile() ;  Did you even try to rtfm?  Ok, you might have missed MoveFile, especially if you''re not using Windows, but the standard C library function to rename a file is called, wait for it, rename().;  Thanks to both of you both commands will do.-CProgrammer