[2] Getting the Current Working Directory

[2] Getting the Current Working Directory

 

The working directory is the location in the file system from where the java command was invoked.

				
						   String curDir = System.getProperty("user.dir"); 
				
		


|----------------------------------------------------------------------------------------|
                           版权声明  版权所有 @zhyiwww
            引用请注明来源 http://www.blogjava.net/zhyiwww   
|----------------------------------------------------------------------------------------|

你可能感兴趣的:([2] Getting the Current Working Directory)