Re: Renameing files

From: Sammy (Samedi@cris.com)
Date: 01/02/97


On Sun, 22 Dec 1996, EXOTICARS OF HUNTERDON wrote:

- Hiya peoples-
- 
-    Im kind of stuck here, Does anyone know of a function that
- renames files?  Or can someone give me a good way of going 
- about this?  Can you fopen it and then close it under a diff
- erent name?

Ummmmmm....

rename(oldname, newname);

Doesn't get any more obvious than that ;)

Sam


+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/18/00 PST