Export (0) Print
Expand All
Expand Minimize
0 out of 1 rated this helpful - Rate this topic

/PDBALTPATH (Use Alternate PDB Path)

/PDBALTPATH:pdb_file_name

where:

pdb_file_name

The path and file name for the .pdb file.

Use this option to provide an alternate location for the Program Database (.pdb) file in a compiled binary file. Normally, the linker records the location of the .pdb file in the binaries that it produces. You can use this option to provide a different path and file name for the Program Database file. The information provided with /PDBALTPATH does not change the location or name of the actual .pdb file; it changes the information that the linker writes in the binary file. This enables you to provide a path that is independent of the file structure of the build computer. Two common uses for this option are to provide a network path or a file that has no path information.

The value of pdb_file_name can be an arbitrary string, an environment variable, or %_PDB%. The linker will expand an environment variable, such as %SystemRootr%, to its value. The linker defines the environment variables %_PDB% and %_EXT%. %_PDB% expands to the file name of the actual .pdb file without any path information and %_EXT% is the extension of the generated executable.

Reference

Other Resources

[OBSOLETE] Program Database Files (C++)
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.