Skip to content

Tag Archives: ASP-Basics

The ASP VolumeName Property is used for setting or returning the volume name of the specified drive.  Syntax: DriveObject.VolumeName[=newname] Parameters: This property has a single… Read More
The ASP OpenAsTextStream Method is used to return a TextStream object by opening a specified file. It can be used to perform certain operations on… Read More
The ASP OpenTextFile Method is used to open a specified file. It returns a TextStream object that can be used to read, write and append… Read More
The ASP IsRootFolder Property returns a boolean value that denotes if the specified folder is a root folder or not. A true value indicates that… Read More
The ASP Item Property is used to return or set the value of an item in the Dictionary Object. Syntax: DictionaryObject.Item(key)[=newitem] Parameter Values: key: It… Read More
The ASP Count Property is used to return the number of key-value pairs currently present in the Dictionary Object.  Syntax: DictionaryObject.Count Example: The below code… Read More
The ASP Items Method is used to return an array of all the items currently in a Dictionary object. Syntax: DictionaryObject.Items Example: The below code… Read More
The ASP Key Property is used to change an existing key-value pair to a new key-value in a Dictionary Object. Syntax: DictionaryObject.Key(key)=newkey Parameters: This method… Read More
The ASP Files Collection is used to return the collection of all the files present in a specified folder. These can be looped through to… Read More
The ASP SubFolders Collection is used to return the collection of all the subfolder in a specified folder.  Syntax: FolderObject.SubFolders Example: The below code demonstrates… Read More
The ASP IsReady Property is used to return a boolean value that specifies whether the drive is ready or not. It returns true if the… Read More
The ASP SerialNumber Property is used to return the serial number of a particular drive. Syntax: DriveObject.SerialNumber Example: The below code demonstrates the ASP Drive.SerialNumber… Read More
The ASP ShareName Property is used to return the network share name of the specified drive. Syntax: DriveObject.ShareName Example: The below code demonstrates the ASP… Read More
The ASP TotalSize Property is used to return the total size of the specified drive on the system. It returns the values in bytes. Syntax:… Read More
The ASP ReadLine Method is used to read one line from a Text file. It does not include newline characters. It is a predefined method… Read More