NAME
From MCS Wiki AVR
(Difference between revisions)
Admin (Talk | contribs)
(Created page with "= <span class="f_Header">Action</span> = This AVR-DOS statement renames a file or directory name. <span style="font-family: Arial;"> </span> <span style="font-family: ...")
(Created page with "= <span class="f_Header">Action</span> = This AVR-DOS statement renames a file or directory name. <span style="font-family: Arial;"> </span> <span style="font-family: ...")
Latest revision as of 10:47, 24 August 2013
Contents |
Action
This AVR-DOS statement renames a file or directory name.
Syntax
NAME old AS new
Remarks
old |
The name of the file or folder that you want to rename. This file must exist in the current folder. |
new |
The new name of the file. The new file may not already exist. The current folder will be used. |
Both old and new must be valid file names and of the string data type. Constants are not allowed.
See also
INITFILESYSTEM , OPEN , CLOSE, FLUSH , PRINT, LINE INPUT, LOC, LOF , EOF , FREEFILE , FILEATTR , SEEK , BSAVE , BLOAD , KILL , DISKFREE ,DISKSIZE , GET , PUT, FILELEN , FILEDATE , FILETIME , FILEDATETIME , WRITE , INPUT , DIR, MKDIR, RMDIR, CHDIR
Example
Old = "file1.txt" New = "fileNew.txt" NAME old AS new
Languages | English |
---|