Remove .pdb path from exe in Microsoft Visual Studio 2010

If you look at executables shipped from Microsoft like notepad.exe, you will see that they include .pdb (Program Database) reference, but do not include path to .pdb: notepad.pdbvs d:\some\dir\release\bin\etc\notepad.pdb This path can sometimes reveal unnecessary information to your customer / user, so if you want to get rid of that path in Visual Studio 2008, …