#include <stdio.h>
int main ()
{
int ret;
ret = rename("oldname.txt", "newname.txt");
if(ret == 0)
{
printf("File renamed successfully");
}
else
{
printf("Error: unable to rename the file");
}
return(0);
}
Categories: C language
10 Comments
trijicon · 24/10/2024 at 23:13
… [Trackback]
[…] Information on that Topic: durukanbal.com/2021/01/17/c-rename-function-example/ […]
Michael · 02/11/2024 at 13:09
… [Trackback]
[…] Read More on on that Topic: durukanbal.com/2021/01/17/c-rename-function-example/ […]
รับทำบัญชี ภูเก็ต · 11/11/2024 at 03:17
… [Trackback]
[…] Find More Info here on that Topic: durukanbal.com/2021/01/17/c-rename-function-example/ […]
paint protection film · 14/11/2024 at 21:41
… [Trackback]
[…] Read More Info here to that Topic: durukanbal.com/2021/01/17/c-rename-function-example/ […]
ทางเข้า lucabet · 16/11/2024 at 09:55
… [Trackback]
[…] Here you can find 79118 more Information on that Topic: durukanbal.com/2021/01/17/c-rename-function-example/ […]
เว็บแทงหวยออนไลน์มาแรง จ่ายเงินสูง 2024 · 18/11/2024 at 04:54
… [Trackback]
[…] Find More to that Topic: durukanbal.com/2021/01/17/c-rename-function-example/ […]
slot99 · 25/11/2024 at 01:51
… [Trackback]
[…] Information to that Topic: durukanbal.com/2021/01/17/c-rename-function-example/ […]
ป้าย Tag · 29/11/2024 at 02:24
… [Trackback]
[…] Read More to that Topic: durukanbal.com/2021/01/17/c-rename-function-example/ […]
เรียนสัก · 02/12/2024 at 01:48
… [Trackback]
[…] Find More on that Topic: durukanbal.com/2021/01/17/c-rename-function-example/ […]
จำหน่ายพลาสติกวิศวกรรม · 03/12/2024 at 02:35
… [Trackback]
[…] Find More Information here on that Topic: durukanbal.com/2021/01/17/c-rename-function-example/ […]