Articles
Forums
Downloads
Autodocs
Home
/
Autodocs
/
dos.library
NAME
Relabel
Change the name of a volume (V36)
SYNOPSIS
success = Relabel(filesystem,name)
D0 D1 D2
BOOL Relabel(STRPTR,STRPTR)
FUNCTION
Changes the name of a volume, if supported by the file system.
INPUTS
filesystem
Full name of file system whose volume name should be changed (with ':'), e.g. "DF0:"
newvolumename
New name to apply to volume (without ':' or '/')
NOTES
A volume name must not include path separator characters such as ':' or '/'.
RESULT
success
Success/failure indicator