web tools rank checker

domain .cn
.net .cn .com.cn
你正在阅览 :: 简体中文:: 学习 ASP SQL VB HTML code

学习 .ASP SQL HTML XML CSS JAVA Perl code study
English Chinese_Traditional Chinese_Simplified

你正在阅览 :: 简体中文 Chinese_Simplified

学习.主题:
首页
ASP
. Active-Server-Flash
. Array
. Connection
. Count
. Counter
. Distinct
. Email
. File
»Create
»delete
»File-obj-Count
»Move
»ReadAll-ReadLine
»Server.MapPath
. Folder
. Function
. GetSQLserver
. Header
. mySQL
. Record
. Recordset
. Request
. Response
. Server
. Server-CreateObject
. ServerVariables
. Session
. Special-Symbols
. String
. Sub
. Time
CSS
Ecommerce
HTML
InternetProtocol
JAVA
Microsoft
Robots
SearchEngine
SQL
SQLserver
VBscript
XML

SiteMap

3w....学习.教学 > ASP > file » file-obj-count

3w learning

file >
file-obj-count

Title:

check how many files in a folder


计算出在某特定的数据夹中有多少档案
Description:

to count how many files in a folder


经常与建立档案时检查档案数目使用
Example Code:

<% Dim fso,filesobj,fobj,FileCount thePath="c:\mypath\" ' or Server.MapPath(".") current folder set fso = CreateObject("Scripting.FileSystemObject") set fobj=fso.getfolder(thePath&""&folder1&"") set filesobj=fobj.files FileCount=filesobj.count response.write FileCount %>


Example Result:


display how many files in folder1


..
...
...

[ 7/27/2008 ]

www learning school add more scripts and tips memo
You are at >>3WS.EZER.COM >> 3WS.EZER.COM/ASP/FILE/FILE-OBJ-COUNT.ASP>>ASP
Helpful link:: SEO web tools :: Live PR | SERP checker
back to top Ezer code adding :: Questions ;email