ASP FOLDER SCRIPT HOME
 
 
PERSONAL DOCUMENT
INTRODUCTION
  MAIN PAGE
CURRICULUM VITAE
  CV ENGLISH
PORTFOLIO
  MY PORTFOLIO

MAIL ME



ASP Folder and Files Script

 
File Related data

DateLastModified, DateLastAccessed, DateCreated, Drive, Name, ParentFolder,Path, ShortName, ShortPath, Size, Type, Attributes.
 
Get file related data

<%
Set fso = CreateObject("Scripting.FileSystemObject")
Set a = fso.GetFile(Server.MapPath("\") & "\index.asp")
Response.Write ("DateLastModified: " & a.DateLastModified & "<BR>")
Response.Write ("DateLastAccessed: " & a.DateLastAccessed & "<BR>")
Response.Write ("DateCreated: " & a.DateCreated & "<BR>")
Response.Write ("Drive: " & a.Drive & "<BR>")
Response.Write ("Name: " & a.Name & "<BR>")
Response.Write ("ParentFolder: " & a.ParentFolder & "<BR>")
Response.Write ("Path: " & a.Path & "<BR>")
Response.Write ("ShortName: " & a.ShortName & "<BR>")
Response.Write ("ShortPath: " & a.ShortPath & "<BR>")
Response.Write ("Size: " & a.Size & "<BR>")
Response.Write ("Type: " & a.Type & "<BR>")
Response.Write ("Attributes: " & a.Attributes & "<BR>")

Set fileObject = Nothing
Set fso = Nothing
%>
 
Folder Related data

DateLastModified, DateLastAccessed, DateCreated, Drive, Name, ParentFolder, Path, ShortName, ShortPath, Size, Type, Attributes, IsRootFolder, Subfolders, Files (get list of Folder/files).
 
Get folder related data

<%
Set fso = CreateObject("Scripting.FileSystemObject")
Set a = fso.GetFolder(Server.MapPath("\tryit\"))
Response.Write ("DateLastModified: " & a.DateLastModified & "<BR>")
Response.Write ("DateLastAccessed: " & a.DateLastAccessed & "<BR>")
Response.Write ("DateCreated: " & a.DateCreated & "<BR>")
Response.Write ("Drive: " & a.Drive & "<BR>")
Response.Write ("Name: " & a.Name & "<BR>")
Response.Write ("ParentFolder: " & a.ParentFolder & "<BR>")
Response.Write ("Path: " & a.Path & "<BR>")
Response.Write ("ShortName: " & a.ShortName & "<BR>")
Response.Write ("ShortPath: " & a.ShortPath & "<BR>")
Response.Write ("Size: " & a.Size & "<BR>")
Response.Write ("Type: " & a.Type & "<BR>")
Response.Write ("Attributes: " & a.Attributes & "<BR>")
Response.Write ("IsRootFolder: " & a.IsRootFolder & "<BR>")

' to get list of files here
' to get list of folders here

Set a = Nothing
Set fso = Nothing
%>
 
 

 

 

DOWNLOAD
FILE (PDF)

 

 

 

: "dikutip dari berbagai sumber."


RESOURCES
FREEWARE
  Change Type 1.0
Clear Template 1.0
Cryptext 3.3
HJ Split 2.2
TweakUI W98
Winamp 5.02
SHAREWARE
  Linguist 1.0
Picaview 1.31
SafeClean 3.02
Winhex 10.54
Winrar 3.11
Winzip 9.0

TUTORIAL
PAINT SHOP PRO 7
  Installing
Customizing
Paint Tools
Draw Tools
Preset Shape Tools
Image Menu
Picture Frames
Effects Menu
HTML SCRIPT
  Text
Button
Color
Menu
Image
Background
Clocks
Cookie
ASP SAMPLES
  Date and Time
Instructions
Variables dan Form
Array
Folder dan Files
Database
Random Number
Cookie

MAIL RESOURCES
MAIL TUTORIAL

© Copyright 2003 - 2004, Nikofantacy. All rights reserved.