File System Provider::RenameDirectory


Renames the specified directory. Used by Microsoft® Provisioning Framework (MPF).

XML Input Schema

The following code fragment shows the format for sending data to this procedure. For more information on individual elements and attributes, see the Elements and Attributes table.

<executeData>1..1
  <oldName>1..1</oldName>
  <newName>1..1</newName>
  <sourcePath>1..1</sourcePath>
</executeData>

XML Output Schema

RenameDirectory does not return data.

Elements and Attributes

The following table describes the XML elements and attributes. Unless otherwise indicated, the data type is string.

Element Description, relationships, and attributes
executeData Description:
Encapsulates the procedure's input data.

Children:
newName (minOccurs="1" maxOccurs="1")
oldName (minOccurs="1" maxOccurs="1")
sourcePath
(minOccurs="1" maxOccurs="1")

newName Description:
New directory name.

Parent:
executeData

oldName Description:
Original directory name.

Parent:
executeData

sourcePath Description:
File system location of the directory to rename.

Parent:
executeData

Attribute:

path  Required. File system location..

Remarks

Rollback restores the directory's original name.

See Also

CopyDirectory, CreateDirectory, DeleteDirectory, File System Provider, GetDirectoryAttributes, ListDirectory, MoveDirectory, SetDirectoryAttributes


Up Top of Page
© 1999-2002 Microsoft Corporation. All rights reserved.