MakeSureDirectoryPathExistsExported by Dbghelp.dll.Requires Windows Vista, Windows XP, Windows 2000 Professional, Windows Server "Longhorn", Windows Server 2003, or Windows 2000 Server
看看API 中的file ,就知道怎么建了。
File f = new File("d:\\00\\11\\22\\33\\44"); f.mkdirs();
f.mkdirs();