JAVA-MANI.BLOGSPOT.COM
Thursday, July 31, 2008
package org.kodejava.example.io;

public class CurrentDirectoryExample
{
public static void main(String[] args) {
//
// System property key to get current working directory.
//
String USER_DIR_KEY = "user.dir";
String userHomeDir = System.getProperty(USER_DIR_KEY);

System.out.println("Working Directory: " + userHomeDir);
}
}

0 comments:

SUBSCRIBE VIA eMAIL

Enter your email address:

Delivered by FeedBurner

Recent Posts

Firefox 3

Counter

internet companies

Live Traffic Map

Subscribe Now