📄 runshowfile.java
字号:
import java.io.*;
public class RunShowFile{
public static void main(String args[]) throws IOException{
ShowFile t=new ShowFile();
String s=t.go(args[0]);
if(args[0].endsWith(".txt")){
String s2=t.go("c:\\autoexec.bat");
}
// 使用s2做各种事情
System.out.println(s);
System.out.println("Over");
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -