hi frns Using the file method i can create folders in the directory in whch my class file is placed is there a way in which i can create directories in the path specified by me Eg if i am in D:\ drive and want to create a folder in c:\amit\roy\ Amit Roy
Amit, The File class has a constructor which takes both parent, and child as args. Example : public File(String parent, String child) File f = new File("d:\\amit","test.txt"); f.createNewFile() will create a test.txt file in d:\amit dir I think. Please give it a try! regds maha anna From JavaDoc
If you look closely at this tiny ad, you will see five bicycles and a naked woman:
Gift giving made easy with the permaculture playing cards