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 » move

3w learning

file >
move

Title:

File.Move


档案 移动
Description:

To move a file from one place two another place


将档案转移到别的档案夹
Example Code:

<% File.Move("C:\aDir\a.txt", "C:\anotherDir\a.txt") %> ------------------------------------ <% Dim fso Set fso = CreateObject("Scripting.FileSystemObject") Set mf = fso.GetFile("c:\a.txt") mf.Move ("c:\newDir\a.txt") %> <% Set mf = fso.GetFile("c:\a.txt") fso.MoveFile("source_file", "destination"); %>


移完之后不留原文件在原地址
Example Result:


file a.txt moves to c:\newDir\a.txt


档案转移到新数据夹中
..
...
...

[ 7/27/2008 ]

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