I opened an .exe I made with a disassembler, I am trying to learn assembly, and I found in the .exe the filepath that it was created in. I am using VS 2010. Is this an option I can turn off? Do all .exe's contain the filepath they were created in?
It's a Microsoft thing, and it is common.
It also isn't a big deal... but if you really care you can edit your executable's "Version Info" resource. (It's a PE32 thing.) It exists for project management and debugging.
[edit] Your IDE should have a project options menu item in there somewhere which allows you to edit what appears in the version info resource block...