Java

현재 디렉토리명 얻기

튼튼한노예 2015. 4. 9. 15:36

System.getProperty("user.dir");

String형태로 현재 실행되고 있는 곳의 디렉토리명을 얻을 수 있다.