









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Detail Summery about File SYSTEM OBJECT, Folder Object Methods, File Object Attributes, File Object Methods, To Write data to a Text File.
Typology: Study notes
1 / 17
This page cannot be seen from the preview
Don't miss anything!
1. Copy Method Copies the specified folder from one location to another. Syntax: object.Copy destination[, overwrite]
1. DateCreated This property gets the date and time that the file was created. Syntax: object.DateCreated 2. DateLastAccessed Gets the date and time that the file was last accessed. Syntax: object.DateLastAccessed
3. DateLastModified This property returns the date and time that the file was last modified. Syntax: object.DateLastModified 4. Drive Returns the drive letter of the drive where the file is located. Syntax: object.Drive 5. Name Lets us get or change the name of the specified file. Syntax: object.Name [ = newname]
1. Copy Method This method copies the selected file to the specified destination. Syntax: object.Copy destination[, overwrite] 2. Delete Method The method used to delete the file relating to the specifie File object. Syntax: object.Delete [force]
3. Move Method This method is used to move the file relating to the specified File object to a new destination. Syntax: object.Move destination
1. Close Method Closes a currently open TextStream file. Syntax: object.Close 2. Read Method This method reads the number of characters you specify from a Textstream file and returns them as a string. Syntax: object.Read(characters)
3. ReadAll Method This method reads the entire contents of a text file and returns it as a string. Syntax: object.ReadAll 4. ReadLine Method Reads a single line (excluding the newline character) from a TextStream file and returns the contents as a string. Syntax: object.ReadLine
1. AvailableSpace Returns the amount of space available on the specified local or remote disk drive. Syntax: object.AvailableSpace 2. DriveLetter Returns the dirve letter of the specified local or remote disk drive. Read only. Syntax: object.DriveLetter
5. FreeSpace Returns the amount of free space available to a user on the specified local or remote drive. Syntax: object.FreeSpace 6. IsReady This property is a Boolean whose value is True if the specified drive is available for use and False otherwise. Syntax: object.IsReady 7. Path Returns the path for a specified file, folder or drive. Syntax: object.Path
8. TotalSize Property Returns the total space, in bytes, of the specified drive. Syntax: object.TotalSize 9. VolumeName Property Sets or returns the volume name of the specified drive. Syntax: object. VolumeName [ = newname]