如何改变一下文件的文件名??
解决方案 »
- 以前保存的网摘为什么打不开?
- 如何从Delphi的原代码中修改ImageList里的图片?
- 在BCB中如何实现DELPHI的Lengh( )函数?
- 请问如何修改ORACLE存储过程返回的记录集??急
- 请教:用 FastReport 打印 MS-SQL 的 Image 字段.
- Access 是不是不支持一次删除多行数据呀
- 为何MDI子窗体放到DLL中,它的Active事件就无法响应,非得传Screen到DLL中才能解决?
- 关于语音识别的问题?请这方面的高高手帮忙
- 怎样查看vcl源码?
- 我烦,我笨,如此简单的问题都搞不定,谁能帮我???
- 请教高手一个问题?
- 请问delphi中listbox的简单问题
RenameFile(原文件名,新文件名),成功返回true,否则返回false.
Procedure or function
Description
Append Opens an existing text file for appending.
AssignFile Assigns the name of an external file to a file variable.
BlockRead Reads one or more records from an untyped file.
BlockWrite Writes one or more records into an untyped file.
ChDir Changes the current directory.
CloseFile Closes an open file.
Eof Returns the end-of-file status of a file.
Eoln Returns the end-of-line status of a text file.
Erase Erases an external file.
FilePos Returns the current file position of a typed or untyped file.
FileSize Returns the current size of a file; not used for text files.
Flush Flushes the buffer of an output text file.
GetDir Returns the current directory of a specified drive.
IOResult Returns an integer value that is the status of the last I/O function performed.
MkDir Creates a subdirectory.
Read Reads one or more values from a file into one or more variables.
Readln Does what Read does and then skips to beginning of next line in the text file.
Rename Renames an external file.
Reset Opens an existing file.
Rewrite Creates and opens a new file.
RmDir Removes an empty subdirectory.
Seek Moves the current position of a typed or untyped file to a specified component. Not used with text files.
SeekEof Returns the end-of-file status of a text file.
SeekEoln Returns the end-of-line status of a text file.
SetTextBuf Assigns an I/O buffer to a text file.
Truncate Truncates a typed or untyped file at the current file position.
Write Writes one or more values to a file.
Writeln Does the same as Write, and then writes an end-of-line er to the text file.