DUA Script Command Reference

5/10/2007

This section provides a reference for the Device Update Agent (DUA) commands. The following table shows the available commands.

Command Description

COPYFILE (Update Rollup 1.0 for Windows XP Embedded)

Copies an existing file to a new file.

CREATEDIRECTORY (Update Rollup 1.0 for Windows XP Embedded)

Creates a new directory.

DELAY

Suspends the execution of the current thread for the specified interval.

DELETEFILE (Update Rollup 1.0 for Windows XP Embedded)

Deletes an existing file.

EXECUTE

Creates a new process and a primary thread.

EXECUTEPROCESS

Executes a process.

HTTPGET

Opens a session for a specific web site, initiates access to a remote file for reading, retrieves the file from the server, and then stores it under the specified file name.

MOVEFIL (Update Rollup 1.0 for Windows XP Embedded)

Moves a file to a specified location.

REBOOT (Update Rollup 1.0 for Windows XP Embedded)

Logs off the current user, shuts down the system, or shuts down and restarts the system.

REGCREATEKEY

Creates the specified registry key.

REGDELETEKEY (Update Rollup 1.0 for Windows XP Embedded)

Deletes a key.

REGDELETEVALUE (Update Rollup 1.0 for Windows XP Embedded)

Removes a named value from the specified registry key.

REGRESTOREKEY

Reads the registry information in a specified file and copies it over the specified key.

REGSAVEKEY (Update Rollup 1.0 for Windows XP Embedded)

Saves the specified key and all its subkeys and values to a new file.

REGSETVALUE

Sets the data for the default or unnamed value of a specified registry key.

REMOVEDIRECTORY (Update Rollup 1.0 for Windows XP Embedded)

Deletes an existing empty directory.

SETFILEATTRIBUTES (Update Rollup 1.0 for Windows XP Embedded)

Sets the attributes of a file.

See Also

Concepts

Constants

Other Resources

Device Update Script