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
. Folder
»Create
»Rename
»split
. 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 > folder » create

3w learning

folder >
create

Title:

CreateFolder (sub folder)


建立新数据夹
Description:

Create a Folder You need to change the upper folder permission before you create, delete or rename otherwise you will get error message.


在执行建立删除或更改档名之前
你一定别忘了先到你的主机管理员区
修改上你想修改数据夹的权限
Example Code:

<% Dim fso, newfolder Set fso = CreateObject("Scripting.FileSystemObject") thePath="c:\myDirPath\" newfolder=request("folder") if fso.folderexists (thePath&""&newfolder&"") then 'do nothing else fso.createfolder (thePath&""&newfolder&"") end if %> ---------- attention -------- you must check if the folder exists never duplicate folders because it will never work


建新档前更应该先检查是否有档名已经
存在了, 若是重复建文件将会出现错误讯息
严重者会加重主机的负担....亦有可能当机
Example Result:


the new folder will be created under myDirPath folder C:\myDirPath\newfolder http://----.com/newfolder/


建立起新数据夹
C:\myDirPath\newfolder\
..
...
...

[ 7/27/2008 ]

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