Main Menu

HOME

.Net
ASP
Assembly
C
C++
Delphi
HTML
Java
JavaScript Site
MySQL
PC interface
Powershell
Perl
PHP
VBScript
Visual Basic
XML

US Job listings




   Misc

   Amazon

   Links

    


Rename a file
 

 

 

Description

This example shows how to rename a file using the rename function , note this example does not have any error checking.

Code


#include <stdio.h>

int main()
{
rename("d:/website.dat","d:/urls.dat");

return 0;
}

Information

tested using LCC Win 32

 

 

 

 

 

Download

rename.txt


 




   Sponsors
 

   Software
500 Java Tips E-book
PHP editor
PERL editor
Beginning Java
Beginning Visual Basic
Learn VB.net
Learn VB 6
VB and databases
ASP image library
C++ builder programming
C++ fundamentals

   Source Code
Windows directory(VB)
strip out certain tags(php)
Using the FileSystemWatcher(C Sharp)
This program shutdown your system(VB)
Floppy disk ready(C)
hexadecimal to decimal conversion(C Sharp)
clear recent documents list(Visual Basic)
A daily MySQL row displayed(PHP)

    




Copyright © 2003 by programmershelp.co.uk