Java and Windows – error: illegal escape character

You need to escape the backslashes used in your path.

String windowsPath = "\\Users\\FunkyGuy\\My Documents\\Hello.txt";

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)