Open command prompt. (windows + s then type 'cmd' and right click on command prompt and run as administrator)
In the DOS screen type this:
"tracert [ip/domain] >[output path, file name]" (without quotation marks!)
for example:
"tracert
www.google.com >C:\results.txt"
The results will be saved into the text file in the location specified above ^