I have a Java code which uses the JFileChooser component and it gets the folder path in the format D:\Folder\subfolder.
When I use this path to create a new file it does not accept.
So, is there a way I can convert this path to D:\\release\\subfolder or is there any other way to proceed?