laboratory of symstore.exe

Example 1 – creating a symbol store:
symstore add /r /f <folder where symbol files locate> /s <target folder where symbol store will be created> /t <product for this symbol store> /v <version info> /c <extra comment of this symbol store>
Example 2 – creating a symbol store with symbols compressed:
step 1 – create a file pointer:
symstore add /r /p /l /f "C:\Documents and Settings\daiw\Desktop\Task Plann
ing\TaskPlanning\website\Bin\*.*" /s \\cadccippublic2\webservices\MSSymbols /t "TaskPlanning" /v "Build 1" /c "test for symbol store"
[Note: SYMSTORE ERROR: Class: Syntax. Desc: /f must be followed by a network path when storing pointers unless /l is used.]
 
step 2 – compress binary and symbol files:
[Note: user compress.exe from Windows Server 2003 kit tool to compress the symbol files.]
 
C:\Program Files\Windows Resource Kits\Tools>compress.exe "C:\Documents and Settings\daiw\Desktop\Task Planning\TaskPlan
ning\website\Bin\*.*"
[Note: when ERROR: No destination is specified. prompt, use -r as extra parameter.]
 
C:\Program Files\Windows Resource Kits\Tools>compress.exe -r "C:\Documents and Settings\daiw\Desktop\Task Planning\TaskP
lanning\website\Bin\*.*"
 
[Note: no futher steps needed, file.ptr will be created and points to the target file]
 
Example 3 – content of an index file:
"AjaxControlToolkit.dll","AjaxControlToolkit.dll\46673B6C116000","AjaxControlToolkit.dll",bin,,,,
"Autodesk.TaskPlanning.Model.dll","Autodesk.TaskPlanning.Model.dll\47998A37e000","Autodesk.TaskPlanning.Model.dll",bin,,,,
"AntiXssLibrary.dll","AntiXssLibrary.dll\455884108000","AntiXssLibrary.dll",bin,,,,
"Microsoft.ApplicationBlocks.Data.dll","Microsoft.ApplicationBlocks.Data.dll\47998A37c000","Microsoft.ApplicationBlocks.Data.dll",bin,,,,
"AjaxControlToolkit.pdb","AjaxControlToolkit.pdb\59F583B97C5B4A558E78D2206CED42441","AjaxControlToolkit.pdb",pri,,,,
"Autodesk.TaskPlanning.Model.pdb","Autodesk.TaskPlanning.Model.pdb1E6CB4DA2D241139969FC016B8ACB2A1","Autodesk.TaskPlanning.Model.pdb",pri,,,,
"Microsoft.ApplicationBlocks.Data.pdb","Microsoft.ApplicationBlocks.Data.pdb\AC29002C1C6A4D10BD4D831A7ACBDF671","Microsoft.ApplicationBlocks.Data.pdb",pri,,,,
Example 4 – context of history.txt:
[Note: record every transactions perfomed with symstore.exe in CSV-format(known as comma seperated formate)]

0000000001,add,file,03/18/2008,16:27:26,"TaskPlanning","Build 10","For Symbol Store Test",
0000000002,add,file,03/18/2008,16:32:59,"TaskPlanning","Build 10","For Symbol Store Test",
0000000003,del,0000000002
0000000004,del,0000000001
0000000005,add,file,03/18/2008,16:34:08,"TaskPlanning","Build 10","For Symbol Store Test",
0000000006,del,0000000005
0000000007,add,ptr,03/18/2008,16:47:59,"TaskPlanning","Build 12","test",
0000000008,del,0000000007
Example 5 – content of a transaction file:
"Autodesk.TaskPlanning.Model.dll\47998A37e000","C:\Documents and Settings\daiw\Desktop\Task Planning\TaskPlanning\website\Bin\Autodesk.TaskPlanning.Model.dll"
"Microsoft.ApplicationBlocks.Data.dll\47998A37c000","C:\Documents and Settings\daiw\Desktop\Task Planning\TaskPlanning\website\Bin\Microsoft.ApplicationBlocks.Data.dll"
"AjaxControlToolkit.dll\46673B6C116000","C:\Documents and Settings\daiw\Desktop\Task Planning\TaskPlanning\website\Bin\AjaxControlToolkit.dll"
"AntiXssLibrary.dll\455884108000","C:\Documents and Settings\daiw\Desktop\Task Planning\TaskPlanning\website\Bin\AntiXssLibrary.dll"
"AjaxControlToolkit.pdb\59F583B97C5B4A558E78D2206CED42441","C:\Documents and Settings\daiw\Desktop\Task Planning\TaskPlanning\website\Bin\AjaxControlToolkit.pdb"
"Autodesk.TaskPlanning.Model.pdb1E6CB4DA2D241139969FC016B8ACB2A1","C:\Documents and Settings\daiw\Desktop\Task Planning\TaskPlanning\website\Bin\Autodesk.TaskPlanning.Model.pdb"
"Microsoft.ApplicationBlocks.Data.pdb\AC29002C1C6A4D10BD4D831A7ACBDF671","C:\Documents and Settings\daiw\Desktop\Task Planning\TaskPlanning\website\Bin\Microsoft.ApplicationBlocks.Data.pdb"