12 lines
235 B
Text
12 lines
235 B
Text
|
|
// version 1.0.6
|
||
|
|
|
||
|
|
import java.util.Scanner
|
||
|
|
|
||
|
|
fun main(args: Array<String>) {
|
||
|
|
val command = "cmd /c chcp"
|
||
|
|
val p = Runtime.getRuntime().exec(command)
|
||
|
|
val sc = Scanner(p.inputStream)
|
||
|
|
println(sc.nextLine())
|
||
|
|
sc.close()
|
||
|
|
}
|