listdrives.aspx
<% @Page Language="C#" %
<% @Import Namespace="System" %
<% @Import Namespace="System.IO" %
<%
string qdrives = Environment.OSVersion.ToString();
string qnewline=Environment.SystemDirectory.ToString();
string qmo=Environment.WorkingSet.ToString();
int qtick=Environment.TickCount;
qtick/=60000;
string[] achDrives = Directory.GetLogicalDrives();
int nNumOfDrives = achDrives.Length;
Response.Write("您的系统是:");
Response.Write(qdrives);
Response.Write("
Response.Write("您的可用内...[ 查看全文 ]