Is there any place I can automatically increment a version number every time I build scripts?

I would get the version number from a text file and show it on the start menu screen somewhere. That would help me make sure players are using the latest version.