Name
Spd2Dec.exe
Synopsis
Spd2Dec.exe [-v | -q] –a|-o <OutputFile> <InputFile>
Spd2Dec.exe –h
Spd2Dec.exe --version

Description
Spd2Dec converts an SPD file to a DEC file. It generates a new DEC file by extracting build-related information from SPD file.  It does a literal mapping from XML schema to TEXT file.
Options
If no options are specified, tool prints error message.
-o, --output Filename
      Specify the name of the DEC file to be created.
-a --auto
	Automatically create the DEC file using the name of the MSA file and replacing file extension.
-v, --verbose
Enable verbose output with informational messages printed. 
-q, --quiet	Disable all messages except FATAL ERRORS.
-h, --help
	Print copyright, version and usage of this program and exit.
--version
	Print version and copyright of this program and exit.
Status codes returned
0	The action was completed as requested.	
1	The action failed.	
Example
1. Spd2Dec c:\EdkII\Nt32Pkg\Nt32Pkg.spd –o c:\EdkII\Nt32Pkg\Nt32Pkg.dec
	Generate the DEC file of Nt32Pkg based on its SPD file.  
2. Spd2Dec c:\EdkII\Nt32Pkg\Nt32Pkg.spd –a
      Generate the DEC file of Nt32Pkg based on its SPD file.  It is the short form of example 1 since example 1 specifies the default DEC file name.
Bugs
No known issues.
Files 
None.
See also
 Msa2Inf.exe, Fpd2Dsc.exe
License
Copyright (c) 1999 - 2011, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available 
under the terms and conditions of the BSD License which accompanies this 
distribution.  The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.