In project properties:
1)set Configuration Properties | Linker | General | Output file to$(OutDir)$(TargetName)$(TargetExt)
2)set Configuration Properties | General | Output Directory to"desired directory path"
3)set Configuration Properties | General | Target Name to "desiredname for output file"
4)set Configuration Properties | General | Target Extension to"desired output file extention (include dot)"
Replace the quoted items with the appropriate values.