大网数据广告活动
性能与资源

SymStore Command-Line Options

· 52CE 我爱测

The following syntax forms are supported for SymStore transactions. The first parameter must always be add or del. The order of the other parameters does not matter.

The following syntax forms are supported for SymStore transactions. The first parameter must always be add or del. The order of the other parameters does not matter.

symstore add [/l /o /p /r /compress Options] [-:MSG Message] [-:REL] [-:NOREFS] /f File /s Store /t Product [/v Version] [/c Comment] [/d LogFile]

symstore add [/a /l /o /p /r] [-:REL] [-:NOREFS] /g Share /f File /x IndexFile [/d LogFile]

symstore add [/o /compress Options] [ /p [-:MSG |Message] [-:REL] [-:NOREFS]] /y IndexFile /g Share /s Store /t Product [/v Version] [/c Comment] [/d LogFile]

symstore query [/o /r] /f File /s Store [/d LogFile]

symstore del /i ID /s Store [/o] [/d LogFile]

symstore /?

Parameter Meaning
/a Causes SymStore to append new indexing information to an existing index file. (This option is only used with the /x option.)
/c Comment Specifies a comment for the transaction.
/compress Causes SymStore to create a compressed version of each file copied to the symbol store instead of using an uncompressed copy of the file. Has two optional arguments ("CAB" or "ZIP") that specify the compression type to use. Defaults to CAB compression if none is specified. This option is only valid when storing files and not pointers, and cannot be used with the /p option.
/d LogFile Specifies a log file to be used for command output. If this is not included, transaction information and other output is sent to stdout.
/f File Specifies one or more file paths (or directories) to add. If a specified file path begins with an '@' symbol, a response file containing a list of files to be added (one file path per line) is expected.
/g Share Specifies the server and share where the symbol files were originally stored. When used with /f, Share should be identical to the beginning of the File specifier. When used with /y, Share should be the location of the original symbol files (not the index file). This allows you to later change this portion of the file path in case you move the symbol files to a different server and share.
/i ID Specifies the transaction ID string.
/l Allows the file to be in a local directory rather than a network path. (This option is only used with the /p option.)
/o Causes SymStore to display verbose output.
/p Causes SymStore to store a pointer to the file, rather than the file itself.
/r Causes SymStore to add files or directories recursively.
/s Store Specifies the root directory for the symbol store.
/t Product Specifies the name of the product.
/v Version Specifies the version of the product.
/x IndexFile Causes SymStore not to store the actual symbol files. Instead, SymStore records information in the IndexFile that will enable SymStore to access the symbol files at a later time.
/y IndexFile Causes SymStore to read the data from a file created with /x.
-:MSG Message Adds the specified Message to each file. (This option can only be used when /p is used.)
-:REL Allows the paths in the file pointers to be relative. This option implies the /l option. (This option can only be used when /p is used.)
-:NOREFS Omits the creation of reference pointer files for the files and pointers being stored. This option is only valid during the initial creation of a symbol store if the store being changed was created with this option.
/? Displays help text for the SymStore command.

Example

Symstore add /p /l /r /g http://localhost/source/symbols/. /x StoreIndex /a /d /Symlog.log /f http://localhost/source/symbols/.

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 07/14/2025
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。