|
Hey radhika here is the sample code. i think this should work for you. Am not sure as i have not tested as te system from which am accessing the forum from the cyber cafe. please let me know if any chnages are made in this to compile.
File f = new File("C:\TEST");
try{
if(f.mkDir())
System.out.println("Directory Created");
else
System.out.println("Directory is not created");
}catch(Exception e){
e.printStacktrace();
}
__________________
S.Dileep Kumar,
Student.
|