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
. Cache
. Connection
. Count
. Counter
. Distinct
. Email
. File
»Create
»create-and-naming
»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
php
Robots
SearchEngine
SQL
SQLserver
VBscript
XML

SiteMap

3w....学习.教学 > ASP > file »

w3 learning

ASP

File

:: delete

More detial or script code example

to delete an exist file (can be .txt .asp .php .jpg .pl ...any file)

删除一已经确认存在的档案
Description:

To delete a file " a.txt " Set fso=Server.CreateObject("Scripting.FileSystemObject") often be used Path : identify the root on server FileExists : to make sure the file is exist , or it will not working fine

Set fso=Server.CreateObject("Scripting.FileSystemObject") 
常被使用在档案与数据夹的呼叫

Path : 可帮助束记数据主机路径

FileExists : 确认是否存在后才执行是不可缺保障检查,免得出现错误讯息
delete

ASP

File

:: Move

More detial or script code example

File.Move

档案 移动
Description:

To move a file from one place two another place

将档案转移到别的档案夹
Move

ASP

File

:: File-obj-Count

More detial or script code example

check how many files in a folder

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

to count how many files in a folder

经常与建立档案时检查档案数目使用
File-obj-Count

ASP

File

:: ReadAll-ReadLine

More detial or script code example

read and print server side file code

自己由浏览器读取自己伺服端的档案原始码
Description:

Set fso = Server.CreateObject ("Scripting.FileSystemObject") or Set fso = CreateObject ("Scripting.FileSystemObject") Set ts = fso.OpenTextFile(thePath) .Readline .Readall

ReadAll-ReadLine

ASP

File

:: Create

More detial or script code example

FileSystemObject.CreateTextFile(filename[,overwrite[,unicode]]) to create a new file (eg .txt .asp .php .jpg .pl ...any file)

Description: 

FileSystemObject.CreateTextFile(filename[,overwrite[,unicode]]) true: allow overwrite false: disallow overwrite

Create

ASP

File

:: Server.MapPath

More detial or script code example

Server.MapPath(Request.ServerVariables("PATH_INFO"))

Description: 

for Each objFile in objFolder.Files whereimages=Server.MapPath("\image_folder\") read each file in objFSO.GetFolder(whereimages) same as Request.ServerVariables("APPL_PHYSICAL_PATH")&"image_file"

Server.MapPath

ASP

file

:: create-and-naming

More detial or script code example

Creating and Naming a Text File

Description: 

1. Create an instance of the FileSystemObject. 2. Set a variable named strPath to the folder where the file will be created (C:\FSO). 3. Use the GetTempName method to generate a unique file name. 4. Use the BuildPath method to combine the folder name and file name and create a full path for the temporary file. The full path is stored in the variable strFullName. 5. Call the CreateTextFile method, using strFullName as the method parameter. 6. Close the file immediately after creating it. In a production environment, you would most likely write data to the file before closing it.

create-and-naming

..
...
...

[ 7/29/2010 ]

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