English
Chinese
  yTin Online Help  

  Home (english) | Home (chinese) | Downloads | Sample scripts | Online help | Utilities | FAQs | Discussions/Messages | Mud&links | My Progs | Mirrors |
rename

format:            #rename {filename_old} {filename_new}

Rename a file or directory.
variable _ is set to 0 if it is successful, set to non-zero on error.

See help on C function: int rename( const char *oldname, const char *newname );

See also: #fopen/#fclose, #feof, #fseek, #fgets, #fputs, #fread, #fwrite, #remove, #rename, #sysecho