Here is the message: Syntax::sntx: Invalid syntax in or before "StringReplace[Import[C:\Users\TAT\AppData\Roaming\Mathematica\Kernel\init .m, String], p:(PrependTo[$Path,~~Shortest[Except[ | ^ " (line 1 of "C:\Users\TAT\AppData\Roaming\Mathematica\Kernel\init.m").
It shows only when I first open Mathematica. I tried reinstalling, but the message is still there.