list files of a Windows OS folder without using a double backslash file seperator
i want to list files of a Windows OS folder.
I want to use Windows file addresses in Kotlin without using a double backslash.
I do not want Kotlin to interpret the backslash here.
My best result for the moment you find at the end of my question.
Error: (3, 24) Kotlin: Illegal escape: '\ M' returns the following:
fun main(args: Array) {
var s: String = "G:\My Web Sites\test.html"
println(s)
}
I do not want to unmask the backslash with a backslash every time. I think it looks not...