Condividi tramite


SDI Manager

SDI manager enables you to manipulate disk image (.sdi) files offline. To use Sdimgr.wsf, type the following syntax in a command prompt.

sdimgr [[[volume]path]filename] [/? | /h | /help] [/q] [/nologo] 
[/devicemodel:model] [/devicerole:role] [/runtimeguid:guid] 
[/runtimeoemrev:rev] [/check] [/dump] [/new] [/pack[:alignment]]
[/stamp] [/create:type,attribute,size] [/delete:type]
[/export:type,filename] [/import:type,attribute,filename]

Parameters

  • volume and path
    Specifies the location of an .sdi file within the path of the volume.
  • filename
    Specifies the file. Wildcard characters, such as the asterisk (*) and the question mark (?), are not allowed.
  • /?, /h, or /help
    Displays a list of command-line options for this tool.
  • /q
    Quiet mode. Suppresses output.
  • /nologo
    Suppresses displaying the banner.
  • /devicemodel:model
    Updates the DeviceModel field in the file header.
  • /devicerole:role
    Updates the DeviceRole field in the file header.
  • /runtimeguid:guid
    Updates the RuntimeGUID in the file header.
  • /runtimeoemrev:rev
    Updates the RuntimeOEMRev in the file header.
  • /check
    Performs a file integrity check.
  • /dump
    Displays header, table of contents, and use. Performs integrity check.
  • /new
    Creates a new file. Overwrites existing files.
  • /pack[:alignment]
    Packs the file by removing free space and moves the binary large object (BLOB) of type BOOT to first BLOB position. Aligns the file to the new alignment, if specified.
  • /stamp
    Attempts to automatically stamp the file header based on the content of Weruntime.ini found in a DISK-type BLOB.
  • /create:type,attribute,size
    Creates a new BLOB of specified type and size with specified attributes within the file. The size value must have the character m appended to the end.
  • /delete:type
    Deletes the BLOB of specified type.
  • /export:type,filename
    Copies the content of a BLOB of specified type to a file with a specified file name.
  • /import:type,attribute,filename
    Creates a new BLOB of specified type with specified attributes by importing a file into the BLOB.

Examples

The following example shows how to display the header and table of contents.

sdimgr c:\dir\file.sdi

The following example shows how to update a binary large object.

sdimgr c:\dir\file.sdi /delete:type /import:type,attr,blob.bin

See Also

SDI Manager File Commands | SDI Manager BLOB Commands

Last updated on Wednesday, October 18, 2006

© 2006 Microsoft Corporation. All rights reserved.