http://www.aros.orgAROS-ExecAROS-Exec ArchivesPower2People
kitty mascottop logo menu

Rename

Index Prev Next


Name

Rename

Synopsis

Rename [{FROM}] <name> [TO|AS] <name> [QUIET]

FROM/A/M,TO=AS/A,QUIET/S

Function

Renames a directory or file. Rename can also act like the UNIX mv
command, which moves a file or files to another location on disk.

Inputs

FROM   --  The name(s) of the file(s) to rename or move. There may
           be many files specified, this is used when moving files
           into a new directory.

TO|AS  --  The name which we wish to call the file.

QUIET  --  Suppress any output from the command.

Result

Standard DOS error codes.

Example

Rename letter1.doc letter2.doc letters

    Moves letter1.doc and letter2.doc to the directory letters.

Rename ram:a ram:b quiet
Rename from ram:a to ram:b quiet
Rename from=ram:a to=ram:b quiet

    All versions, renames file "a" to "b" and does not output any
    diagnostic information.

Copyright © 1995-2014, Het AROS Development Team. Alle rechten voorbehouden.
Amiga® is een merknaam van Amiga Inc. Alle andere merknamen behoren tot hun respectievelijke eigenaren.