se "exe": case "com": case "pif": case "bat":return "<font face=''wingdings'' class=''ItemIconStyle''>ÿ</font>";case "jpg": case "gif": case "bmp": case "tiff": case "jpeg": case "tif" : case "png" :return "<font face=''webdings'' class=''ItemIconStyle''></font>";case "mp3": case "wav": case"mid" :return "<font face=''webdings'' class=''ItemIconStyle''>¯</font>";default :return "<font face=''wingdings 2'' class=''ItemIconStyle''>/</font>";};};function FormatSize(nSize){if(nSize/Math.pow(1024,3)>0.9) return Math.round(nSize/Math.pow(1024,3)*100)/100 + " GB";else if(nSize/Math.pow(1024,2)>0.9) return Math.round(nSize/Math.pow(1024,2)*100)/100 + " MB";else if(nSize/1024>0.9) return Math.round(nSize/1024*100)/100 + " KB";else return "1 KB";/*nSize + " Bytes"*/};this.GetDriverList = function(){/*返回驱动器列表的数组*/var fso = this.fso;var a = new Array();var e = new Enumerator(fso.Drives);a[a.length] = new Array(bIsReady/*是否就绪*/, "<font face=''wingdings'' class=''ItemIconStyle''>y</font>", "<nobr>[Home]</nobr> <nobr>CCDM 4.51</nobr>", "", Server.MapPath("."), 20, "", "", "", "","COCOON Online Disk Manager 4.51.4714", "Producted by Cocoon Studio (www.ccopus.com)", "Coding by Sunrise_Chen");for (; !e.atEnd(); e.moveNext()){var bIsReady = false;var x = e.item();try{bIsReady = x.isReady;};catch(e){bIsReady = false;};if(bIsReady){a[a.length] = new Array(bIsReady/*是否就绪*/, GetIconByType_Driver(x.DriveType)/*图标,用于显示*/, "<nobr>" + GetTypeName(x.DriveType) + "</nobr> <nobr>(" + x.DriveLetter + ":)</nobr>"/*名称,用于显示*/, GetTypeName(x.DriveType) + "(" + x.DriveLetter + ")", x.RootFolder/*根目录*/, 16/**/, GetTypeName(x.DriveType), "<div align=right>" + FormatSize(x.TotalSize) + "</div>", "<div align=right>" + FormatSize(x.AvailableSpace) + "</div>", "", "路径: " + x.RootFolder, "类型: " + GetTypeName(x.DriveType), "文件系统: " + x.FileSystem, "卷标: " + x.VolumeName, "总容量: " + FormatSize(x.TotalSize), "剩余容量: " + FormatSize(x.AvailableSpace));};else{a[a.length] = new Array(bIsReady, GetIconByType_Driver(x.DriveType), "<nobr>" + GetTypeName(x.DriveType) + "</nobr> <nobr>(" + x.DriveLetter + ":)</nobr>", GetTypeName(x.DriveType) + "(" + x.DriveLetter + ")", x.DriveLetter + ":\\", -1, GetTypeName(x.DriveType), "", "", "", "路径: " + x.DriveLetter + ":\\", "类型: " + GetTypeName(x.DriveType));};};return a;};/*function GetDriverList;*/this.CurrentFolder = null;this.GetFolderInfo = function(sFolderSpec){if(this.CurrentFolder) return this.CurrentFolder;var fso = this.fso;var a = new Array();try{var x = fso.GetFolder(sFolderSpec);};catch(e){ShowError(e);};a[a.length] = new Array(true, "<font face=''wingdings'' class=''ItemIconStyle''>0</font>", "<span class=''ItemTitle''><nobr>" + x.name + "</nobr></span>", x.Name, x.P