°á°ú Ç¥½Ãâ.
Ŭ¸¯ÇÏ¿© °á°ú¸¦ º¸¶ó.
<DIV id=display class=show style="width:500" title="°á°ú">°á°ú Ç¥½Ãâ.</DIV>

<SCRIPT>
function DriveInformation(drivePath){
  var fso,driveObj,str='<TABLE border=1 cellpadding=2 width=100%>';
  fso=new ActiveXObject('Scripting.FileSystemObject'); // ÀÚµ¿È­ °³Ã¼¸¦ ¸¸µë.
  driveObj=fso.GetDrive(fso.GetDriveName(drivePath));
  str+='<TR><TH colspan=3 style=text-align:center>µå¶óÀ̺ê '+drivePath.toUpperCase()+'</TH></TR>';
  str+='<TR><TH style=text-align:center>¼Ó¼º</TH><TH>¼Ó¼º°ª</TH><TH style=text-align:center>ºñ°í</TH></TR>';
  str+='<COL class=property style=text-align:right><COL style=text-align:center><COL style=text-align:right>';
  str+='<TR><TD>driveObj.DriveLetter=</TD><TD>'+driveObj.DriveLetter+'</TD><TD> </TD></TR>';
  str+='<TR><TD>driveObj.VolumeName=</TD><TD>'+driveObj.VolumeName+'</TD><TD> </TD></TR>';
  str+='<TR><TD>driveObj.TotalSize=</TD><TD align=right>'+driveObj.TotalSize+' byte</TD>';
  str+='<TD>'+(driveObj.TotalSize/1024/1024).toFixed(3)+' MB</TD></TR>';
  str+='<TR><TD>driveObj.AvailableSpace=</TD><TD align=right>'+driveObj.AvailableSpace+' byte</TD>';
  str+='<TD>'+(driveObj.AvailableSpace/1024/1024).toFixed(3)+' MB</TD></TR>';
  str+='<TR><TD>driveObj.DriveType=</TD><TD>'+driveObj.DriveType+'</TD><TD> </TD></TR>';
  str+='<TR><TD>driveObj.FileSystem=</TD><TD>'+driveObj.FileSystem+'</TD><TD> </TD></TR>';
  str+='<TR><TD>driveObj.IsReady=</TD><TD>'+driveObj.IsReady+'</TD><TD> </TD></TR>';
  str+='<TR><TD>driveObj.Path=</TD><TD>'+driveObj.Path+'</TD><TD> </TD></TR>';
  str+='<TR><TD>driveObj.RootFolder=</TD><TD>'+driveObj.RootFolder+'</TD><TD> </TD></TR>';
  str+='<TR><TD>driveObj.SerialNumber=</TD><TD>'+driveObj.SerialNumber+'</TD><TD> </TD></TR>';
  str+='<TR><TD>driveObj.ShareName=</TD><TD>'+driveObj.ShareName+'</TD><TD> </TD></TR>';
  str+='</TABLE>';

  openWin(str);
  display.innerHTML=str;
}

function openWin(str){
  newWin=window.open('','pop','top=100,left=100,width=500,height=380');
  newWin.document.write('<LINK rel="stylesheet" type="text/css" href="../../public/jscript.css">');
  newWin.document.write(str);
  newWin.document.write('<A href=javascript:self.close()>â´Ý±â</A>');
}
</SCRIPT>

<DIV class=show title="°á°ú" onClick="DriveInformation('c:\\')">Ŭ¸¯ÇÏ¿© °á°ú¸¦ º¸¶ó.</DIV>
°á°ú Ç¥½Ãâ.
Ŭ¸¯ÇÏ¿© °á°ú¸¦ º¸¶ó.

µå¶óÀÌºê »ó¼¼ Á¶È¸´Â À§ ¿¹Á¦ÀÇ ±â´ÉÇÔ¼ö¸¦ ÀÌ¿ëÇÏ¿´´Ù.

<DIV id=DriveShowarea class=show style="width:460" title="°á°ú">°á°ú Ç¥½Ãâ.</DIV>

<SCRIPT>
function ShowDriveList(){
  var fso,drvname,enumObj,enum1; // º¯¼ö¸¦ ¼±¾ðÇÑ´Ù.
  fso=new ActiveXObject('Scripting.FileSystemObject'); // ÀÚµ¿È­ °³Ã¼¸¦ ¸¸µë.
  enumObj=new Enumerator(fso.Drives); // µå¶óÀ̺꿡 Enumerator¸¦ ¸¸µë.
  str='<TABLE border=0 cellpadding=3 align=center>';
  for (; !enumObj.atEnd();enumObj.moveNext()){ // ¸¶Áö¸· Ç׸ñÀΰ¡¸¦ È®ÀÎÇÏ°í ·çÇÁ ¹®Àå Á¾·á
    enum1=enumObj.item();
    detail='';
    str=str+'<TR><TD>'+enum1.DriveLetter+'</TD>'; // µå¶óÀ̺ê Ç׸ñº° µå¶óÀÌºê ±ÛÀÚ Ãâ·Â
    if (enum1.DriveType==3) drvname=enum1.ShareName ; // µå¶óÀÌºê °øÀ¯À̸§  ¾ò¾î ¹®ÀÚ¿­¿¡ Ãß°¡
    else if (enum1.IsReady){
      drvname=enum1.VolumeName; // µå¶óÀ̺갡 Áغñ »óÅÂÀÎÁö È®ÀÎÇÏ°í, º¼·ý À̸§À» °¡Á®¿È.
      detail='<A href=javascript:DriveInformation(\"'+enum1.RootFolder+'\\")>»ó¼¼ º¸±â Ŭ¸¯</A></SPAN>';
    }
    else drvname='[µå¶óÀ̺갡 ÁغñµÇÁö ¾Ê¾Ò½À´Ï´Ù.]';
    str+='<TD>'+drvname+'</TD><TD>'+detail+'</TD></TR>';
  }
  str+='</TABLE>';
  str+='<CENTER>ÁÖ µå¶óÀ̺ê= '+fso.Drives.Item('C')+' '+fso.Drives.Item('C').VolumeName+'<BR>';
  str+='ÃÑ '+fso.Drives.Count+' °³ÀÇ µå¶óÀ̺ê</CENTER>';
  DriveShowarea.innerHTML=str; // µå¶óÀÌºê ¸ñ·ÏÀ» Ãâ·Â.
} // ±â´ÉÇÔ¼ö Á¾·á
</SCRIPT>

<DIV class=show title="°á°ú" onClick="ShowDriveList()">Ŭ¸¯ÇÏ¿© °á°ú¸¦ º¸¶ó.</DIV>
<SCRIPT>