Partager via


rename (Windows Embedded CE 6.0)

1/6/2010

This command renames a file or directory.

Syntax

rename [src filesys path] [dst filesys path]

Parameters

  • src filesys path
    Absolute file system path of the file or directory to rename.
  • dst filesys path
    Absolute file system path of the new location of the file or directory.

    Note

    The dst filesys path must be on the same volume as the source.

Remarks

The following code example shows how to rename a file:

rename /volume/myfile /volume/dir/myrenamedfile

See Also

Reference

File System Commands