package hello;
import java.io.File;
import java.io.IOException;
public class AA {
	public static void main(String[] args) {
		String exportpath = "D:\\AA\\";		
		String fileName = "孟子乡.txt";				
		File file = new File(exportpath,fileName);
		try {
			file.createNewFile();
		} catch (IOException e) {			
			e.printStackTrace();
		}
	}
}
 
放到C盘执行方便: 











