Hi All,
I have created a CON, PRN folder(http://www.hoax-slayer.com/con-folder-name.shtml) using "md\\.\\c:\con " through DOS prompt, i was trying to create same CON and PRN folder through Java code using
"Runtime.getRuntime().exec("md\\\\.\\d:\\con");"
But it is giving following Exception :
Cannot run program "md\\.\d:\con": CreateProcess error=2, The system cannot find the file specified at java.lang.ProcessBuilder.start(Unknown Source)"
Please guide me how to make the CON folder through JAVA code.
Thanks in advance.