Previous Topic: osimdisk.txtNext Topic: Configure TFTP Blocksize to Improve File Transmission Time


sdmpcimg Command (32bit and 64bit Version)

Valid on win32

The sdmpcimg.exe command provides options for the WinPE image support. These options include the following:

This command has the following format:

sdmpcimg [-m tftp] -[lptvz] ...
l

Get binl information about local interfaces and boot server.

p

Download parameter file found in binl packet from boot server:

-p [file/directory to download parameters to] [server ip] [server port]

Note: If [file/directory to download parameters to] is not provided, then the parameter file is downloaded to the current directory.

t

Get a file from the tftp server:

  -t <file to download> [local file/directory to download to] [server ip] [server port]
v

Print version information.

z

Download caz file from server:

 -z <caz file to download> [directory to download to] [server ip] [server port]

If [file/directory to download to] is not provided, then the file is downloaded to current directory.

If [server ip] is not provided, the IP address from the binl packet is used.

If [server port] is not provided, a connection is made to the default tftp port.

Example: Find the Boot Server

This example finds the CA boot server where the target is assigned to:

sdmpcimg -l

The command provides the following boot server information as standard output:

Example: Get All OSIM Parameters for This Target

The following example gets all OSIM parameters from the boot server and writes them in the form $parametername$=value into the parameter.dat file in the local c: directory:

sdmpcimg -m TFTP -p c:\parameter.dat

The following example gets all OSIM parameters from the boot server and writes them in the form $parametername$=value to standard output:

sdmpcimg -m TFTP -p !

Example: Download File Using TFTP

This example downloads a file called file01, using TFTP from the boot server, to the target file file02 in the local c: directory:

sdmpcimg -m TFTP -t #MPCPATH#/images/dosboot/winxpx86.2/file01 c:\file02

The boot server replaces #MPCPATH# with the path to the image store.