����λ�ã���ҳ����ҳ�����ASPʵ���� �鿴���������̡��ļ���aspx.

�鿴���������̡��ļ���aspx.

ʱ�䣺2004/11/7 2:53:00��Դ����վ�������ߣ�������Ҫ����(0)

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("���Ŀ����ڴ��ǣ�");

Response.Write(qmo);

Response.Write("
");

Response.Write("���ϴ������Ѿ���");

Response.Write(qtick.ToString());

Response.Write("������");

Response.Write("
");

Response.Write("
");

Response.Write("
");

Response.Write("�鿴��Ĵ��̣�");



Response.Write("

");


for (int i=0; i < nNumOfDrives; i++)


{


Response.Write("


Response.Write(Server.UrlEncode(achDrives[i]));

Response.Write("\">" + achDrives[i]);

Response.Write("
");

}

Response.Write("

");

%>





listdir.aspx





<% page="" language="C#" debug="true">

<% import="" namespace="System.IO">

<%

string strDir2List = Request.QueryString.Get("dir");

Directory thisOne = null;



try

{

thisOne = new Directory(strDir2List);

// Auslesen der Eigenschaften der Verzeichnisses

Response.Write("

����ʱ��: " + thisOne.CreationTime.ToString() + "

");

Directory[] subDirectories = thisOne.GetDirectories();

Response.Write("

");


Response.Write("-------------------------------���-------------------------");


Response.Write("

");


for (int i=0; i < subDirectories.Length; i++)


{


Response.Write("


Response.Write(Server.UrlEncode(subDirectories[i].FullName));

Response.Write("\">" + subDirectories[i].Name);

Response.Write("
");

}

Response.Write("

");



File[] theFiles = thisOne.GetFiles();

Response.Write("

");


Response.Write("-------------------------------�ļ�----------------------------");


Response.Write("

");


for (int i=0; i < theFiles.Length; i++)


{


Response.Write("


Response.Write(Server.UrlEncode(theFiles[i].FullName));

Response.Write("\">" + theFiles[i].Name);

Response.Write("
");

}

Response.Write("

");

}

catch (Exception e)

{

Response.Write("��������ԭ���޷�ʵ�ִ˹���: ");

Response.Write(e.ToString() + "");

Response.End();

}

%>





showfile.aspx





<% page="" language="C#" debug="true">

<% import="" namespace="System.IO">


File Info





<%

string strFile2Show = Request.QueryString.Get("file");

File thisOne = new File(strFile2Show);

%>














�����
<%=thisone.name%>
ȫ����
<%=thisone.fullname%>
���������:
<%=thisone.creationtime.tostring()%>
�ļ���С��
<%=thisone.length.tostring()%> Bytes
�ϴ�ʹ��ʱ��:
<%=thisone.lastaccesstime.tostring()%>
�ϴ��޸�ʱ��:
<%=thisone.lastwritetime.tostring()%>





<%

StreamReader theReader = thisOne.OpenText();

char[] theBuffer = new char[1000];

int nRead = theReader.ReadBlock(theBuffer, 0, 1000);

Response.Write("
");

Response.Write(" �ļ�����Ԥ����");

Response.Write("
");

Response.Write("

"); Response.Write(Server.HtmlEncode(new String(theBuffer,0,nRead))); Response.Write("

");

%>









���ڷḻ�ɹ����ã������ϴ����޸ģ�ɾ���ȹ�����

��֪��û����ô��ʱ����

Ŭ���ɣ�����

����Ķ�Mac��Windows�ĸ��� windows��mac os�ԱȽ���Win10Ԥ������ô���� Win10Ԥ���������������̲���ԤװWin7��8.1ϵͳ����������������������Mac�ƶ�Ӳ�̰�װwin8 Mac��winװ���ƶ�Ӳ��ʹ�ý̳�windows10xboxone�����̳�Windows Hello��ô�� Windows Helloʹ�����ý̳�win10��ô�ر��Զ����� win10��ιر��Զ�����Macϵͳ���Զ�����浽Windowsϵͳ

��������
��������

��������û�в�ѯ���κμ�¼��

��������Ѹ��������ȫ�����ֲ�asp����javascript�ϴ�ͼƬ���Ƹ�ʽ��С�������ߴ����ҳ��������Ӧ���ܽ�ASP�����������ʹ�ȫasp������������ͽ���취

�����������ǵ���visual studio ʵʱ������ ���ֽ��SQLSERVER�洢���̼��������Asp��ȡ��ʵIP��ַASP������Mssql�ļ��ַ���һ�����õ�UBB�༭��(������)�����Split���ַ���ת��Ϊ���鲢��ȡ������ASP��ֹ���ظ��ύ�İ취��������ѵļ�������Դ����