Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- Git
- DB
- 안티 패턴
- NSIS
- 채용공고
- github
- mybatis
- CMD
- Custom URI Schemes
- 쿼리
- 자바에서 응용프로그램 실행
- framework
- 튜닝
- Java
- 자바스크립트
- spring
- MVC
- Stash
- spring framework
- 현재날짜 구하기
- Runtime
- sql
- ANTI PATTERN
- 설치프로그램
- Oracle
- javascript
- 마켓보로
- Runtime.getRuntime.exec()
- mave project
- 레지스트리
Archives
- Today
- Total
목록CMD (1)
corn-cheese
[Java]자바에서 cmd 명령어 실행하기, Runtime.getRuntime.exec()
public class Main3 extends Thread{ public static String line; public static InputStream is; public static BufferedReader br; public String ID; public String PW; public static void main(String[] args){ try { is = Runtime.getRuntime().exec("C:\\Program Files (x86)\\SAP\\FrontEnd\\SAPgui\\sapshcut.exe").getInputStream(); br = new BufferedReader(new InputStreamReader(is, "MS949")); } catch (IOExcept..
IT/java
2020. 3. 10. 17:02