|
|
|
|
|
Total Hits: 245 | Today: 1 |
Author: Faisal Khan
|
Rating:
|
|

This article is first of a series of articles about working with drives, folders and files using ASP. In this article we'll learn how to get hold of Drives collection which FileSystemObject provides us, then we'll use this handle to display a list of all drives connected to our computer with their detailed info. These drives may be fixed hard disks, removable drives like floppy drives, CD-ROM drives or even network drives. We'll then use the handle to a drive to access root folder for that drive...
|
|
|
|
Total Hits: 564 | Today: 1 |
Author: Faisal Khan
|
Rating:
|
|

In this article we'll learn how to get hold of Drives collection which FileSystemObject provides us, then we'll use this handle to display a list of all drives connected to our computer with their detailed info....
|
|
|
|
Total Hits: 758 | Today: 1 |
Author: BrainJar.com
|
Rating:
|
|

This example shows how to read a directory structure in ASP. The demo lists the contents of a few directories located on this site, including any subdirectories and their contents, along with some information on file sizes and last modified dates....
|
|
|
|
Total Hits: 189 | Today: 0 |
Author: codeave.com
|
Rating:
|
|

Many places on the web feature the date that the current document was last modified on. Rather than changing the date manually, using a FrontPage WebBot, or targeting the document by writing it directly into the script, let the server ask the document an it will tell you....
|
|
|
|
Total Hits: 264 | Today: 1 |
Author: Power ASP
|
Rating:
|
|

This is an example of using the FileSystemObject to determine the total size of all files in a directory and any sub directories in it....
|
|
|
|
Total Hits: 237 | Today: 0 |
Author: EggHeadCafe
|
Rating:
|
|

There are times when we need to view or manipulate various system attributes and services. Here is a sample page that demonstrates how to use WMI to view current system memory, disk space, and services. It also provides a function to start and stop individual services....
|
|
|
|
Total Hits: 180 | Today: 1 |
Author: CodeAve.com
|
Rating:
|
|

One of the most important things that webmasters need to track is their disk space utilization. This script can be placed in virtually any asp directory and will read the size of all subordinate directories....
|
|
|
|
Total Hits: 259 | Today: 0 |
Author: Derek Truman
|
Rating:
|
|

Displaying the date last modified is a simple thing to do. All it takes is calling up the ol File Scripting Object and there you have it! The last modified date, DYNAMICALLY! Every time the file is modified this info is written into the file....
|
|
|
|
Total Hits: 197 | Today: 1 |
Author: ASP101
|
Rating:
|
|

This one here is a little tricky! This sample will only work if you are running IIS4 or a newer version of the VBscript library than the one that ships with IIS3. It requires the built in fileSystemObject's DateLastModified property which isn't available in IIS3!...
|
|
|
|
Total Hits: 169 | Today: 0 |
Author: Brett Burridge
|
Rating:
|
|

This article demonstrates how to access information about disk drives attached to a web server supporting ASP....
|
|
|
|
Total Hits: 310 | Today: 0 |
Author: Manohar Kamath
|
Rating:
|
|

It's not that difficult but I thought I'd write a reusable script anyway. To get file information, one has to ultimately rely on the ServerVariables collection in the Request object....
|
|
|
|
Total Hits: 282 | Today: 1 |
Author: Magnus Simonarson
|
Rating:
|
|

This code will tell you how much disk space on your server you're using....
|
|
|
|
Total Hits: 172 | Today: 0 |
Author: Brett Burridge
|
Rating:
|
|

A previous article describes how to use the Drives collection to access information about disk drives attached to an ASP web server. This article expands on the ideas presented in that article by describing how to create a dynamic disk space monitor....
|
|
|
|
|
|
|