FileRename

Prev Next Home Home Table Of Contents Index

FileRename (Old,New)

Renames a file from old name to new. A file may be moved to a new directory with this command. You can not use this command to move files from one drive to another. FileRename will also fail if the source file doesn't exist or the destination file does exist. FileResult can be tested to make sure the rename executed correctly.


Example:
FileRename ('F:\HOME\MARC\MESSAGE.TXT','F:\HOME\GRACE\MESSAGE.TXT')

FileRename now supports long file names.

See Also: FileResult

Category: File LongName

Prev Next Home Home Table Of Contents Index

Sponsors
Shopping
Forum
Forum
email
EMail
Index
Index
Home
Home