I need to make some changes to a file then output it to an assigned folder. I wrote the code below, it can only put the result.txt in the current path, but I want to put it in a separate folder.
Can someone give me a tip?
BufferedReader in_file=new BufferedReader(new InputStreamReader(new BufferedInputStream(new FileInputStream(args)),"GBK"));
BufferedWriter out_file=new BufferedWriter(new OutputStreamWriter(new BufferedOutputStream(new FileOutputStream([red]"result.txt"[/red])),"UTF-8"));