File System Provider::MoveDirectory


Moves the specified directory from one location to another. 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
  <dirName>1..1</dirName>
  <sourcePath path="..">1..1</sourcePath>
  <destPath path="..">1..1</destPath>
</executeData>

XML Output Schema

MoveDirectory 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
destPath Description:
Target path for the moved directory.

Parent:
executeData

Attribute:

path Required. Path of the target directory.
dirName Description:
Source directory for the move operation. Specify the source path using the sourcePath node.

Parent:
executeData

executeData Description:
Encapsulates the procedure's input data.

Children:
controlInfo (minOccurs="0" maxOccurs="1", input only)
dirName (minOccurs="1" maxOccurs="1", input)
result
(minOccurs="1" maxOccurs="1", output only)
sourcePath (minOccurs="1" maxOccurs="1", input)

sourcePath Description:
Path to move the directory from.

Parent:
executeData

Attribute:

path  Required. Path of the move directory (specified by the dirName node)..

See Also

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


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