NAME

Aus MCS Wiki AVR
Wechseln zu: Navigation, Suche

Inhaltsverzeichnis

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 , CLOSEFLUSH , PRINTLINE INPUTLOCLOF , EOF , FREEFILE , FILEATTR , SEEK , BSAVE , BLOAD , KILL , DISKFREE ,DISKSIZE , GET , PUTFILELEN , FILEDATE , FILETIME , FILEDATETIME , WRITE , INPUT , DIRMKDIRRMDIRCHDIR

 

 

 

 

 

Example

Old = "file1.txt"
New = "fileNew.txt"
NAME old AS new
Languages   English  
Meine Werkzeuge
Namensräume
Varianten
Aktionen
Navigation
Sprache