Menu: File -> Page Setup
This feature is on by default in VS2010 but just in case you accidentally turn it off or maybe you don't want the file path in the Page Header then just go to
File -> Page Setup. and notice the "Page Header" checkbox:
This will toggle the printing of the file path in the Page Header.