Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
Scripting
Script Runtime
FileSystemObject
This page is specific to
.NET Framework 3.0

Other versions are also available for the following:
Scripting Runtime Library
FileSystemObject Basics

Updated: November 2007

When writing scripts for Active Server Pages, the Windows Script Host, or other applications where scripting can be used, it's often important to add, move, change, create, or delete folders (directories) and files on the Web server. It may also be necessary to get information about and manipulate drives attached to the Web server.

Scripting allows you to process drives, folders, and files using the FileSystemObject (FSO) object model, which is explained in the following sections:

The FileSystemObject Object Model

The FileSystemObject object model allows you to use the familiar object.method syntax with a rich set of properties, methods, and events to process folders and files.

FileSystemObject Objects

A list of the objects and collections in FileSystemObject object model.

Programming the FileSystemObject

Description of how to program with the FileSystemObject.

Working with Drives and Folders

Describes how you use the FileSystemObject to copy and move folders, as well as get information about drives and folders.

Working with Files

Describes how you use the FileSystemObject to manipulate files.

FileSystemObject Sample Code

A real-world example that demonstrates many of the features available in the FileSystemObject object model.

Community Content   What is Community Content?
Add new content RSS  Annotations
To Display Progress Bar While Copy Folder & Message Box Display After Copy finish      pervez_mostafa   |   Edit   |  
Dear

I want to copy a folder in a specified location/drive. While copying a progress bar would be displayed showing the total size of the folder & the estimated time to complete copy. When copy would be finished, a message would be displayed showing copy has completed succesfully.
If possible, on the form, I want to display the volume (Occupied & free) of the available drive in the system. I want to use this code in Viaual 6.0.

Regards
Pervez
Tags What's this?: Add a tag
Flag as ContentBug
To Display Progress Bar while copying folder in a specified drive/location      pervez_mostafa   |   Edit   |  
Dear

I want to copy a folder in a specified location/drive. While copying a progress bar would be displayed showing the total size of the folder & the estimated time to complete copy. When copy would be finished, a message would be displayed showing copy has completed succesfully.
If possible, on the form, I want to display the volume (Occupied & free) of the available drive in the system. I want to use this code in Viaual 6.0.

Regards
Pervez
Tags What's this?: code (x) Add a tag
Flag as ContentBug
Processing
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker