Dear sir,
i wrote small Generic API for create a file*(test.txt)* or folder*(..\folder\test.txt)* with a file......
1. The Generic API successfully executed when i passed a file...
2. when i pass folder with file name it throws
Exception in thread "main" java.io.IOException: The system cannot find the path specified
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(Unknown Source)
at com.vs.accr.xmlObjects.TestClass.main(TestClass.java:11)
please help me out.....
Thank you
Boss134