Main Menu

HOME

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

Make money selling software. Check this out here

Hosted clickbank mall. Check this out here




   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
Octal, hex and decimal(C++)
Flash lock leds(VB)
Free disk space : Windows 95 and 98(C)
Block more than one IP address(ASP)
using the md5 function to encrypt data(php)
Disk file systems in VBScript(VB)
Yahoo news(PHP)
Ping with VB(VB)

    




Copyright © 2003 by programmershelp.co.uk