I have changed the name of a newer laptop to my name, but all files etc., are still referred to as the old name. In your discription to change host name using CMD prompt, I didn't understand how to put the proper line in the prompt.
closed as unclear what you're asking by Eric Carvalho, Luis Alvarado♦ Jul 24 '14 at 17:18
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
I think that you can modify your hostname with use
If you use
And you can edit
But your hostname will not be modified directly, but when next reboot your system, it'll be used.
Editing about the file is simple as following.