HOME  >  ÀÚ·á   >  ASPÀÚ·á½Ç
¹øÈ£ Á¦¸ñ Á¶È¸
45
ASP TextStream Object
743
44
ASP FileSystemObject Object
764
È®´ë   Ãà¼Ò    
The FileSystemObject object is used to access the file system on a server.
More Examples

Does a specified file exist?
How to check if a file exists.

Does a specified folder exist?
How to check if a folder exists.

Does a specified drive exist?
How to check if a drive exists.

Get the name of a specified drive
How to get the name of a specified drive.

Get the name of the parent folder of a specified path
How to get the name of the parent folder of a specified path.

Get file name
How to get the file name of the last component in a specified path.

Get the file extension
How to get the file extension of the last component in a specified path.

Get the base name of a file or folder
How to get the base name of a file or folder, in a specified path.
The FileSystemObject Object

The FileSystemObject object is used to access the file system on a server.

This object can manipulate files, folders, and directory paths. It is also possible to retrieve file system information with this object.

The following code creates a text file (c:\test.txt) and then writes some text to the file:
<%
dim fs,fname
set fs=Server.CreateObject("Scripting.FileSystemObject")
set fname=fs.CreateTextFile("c:\test.txt",true)
fname.WriteLine("Hello World!")
fname.Close
set fname=nothing
set fs=nothing
%>
43
ASP ASPError Object
864
42
ASP Server Object
717
41
ASP Session Object
659
40
ASP Application Object
1140
39
VBScript Keywords
698
38
VBScript Year Function
908
37
VBScript WeekdayName Function
647
36
VBScript Weekday Function
657
35
VBScript TimeValue Function
673
34
VBScript TimeSerial Function
666
33
VBScript Timer Function
666
32
VBScript Time Function
697
31
VBScript Second Function
652
30
VBScript Now Function
659
29
VBScript MonthName Function
705
28
VBScript Month Function
748
27
VBScript Minute Function
805
26
VBScript IsDate Function
888
1 2 3

 
sitemap    
all right reserved : ÀÌ ¸ðµç °Å! ´Ù~ ³»²¨!