Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
164 Part II Basic Windows Administration Chapter 6 Quick Reference To Write to a file Include a carriage return and a line feed when you write to a line Append to a line when you write to it Read file attributes Obtain a list of all files in a folder Connect to a folder Work with a single file from a collection of files Do This Choose either the Write, WriteLine, or WriteBlankLines methods Use the WriteLine method Use the Write method Use the Attribute property of a File object Use the Files method once you have connected to a folder Use the GetFolder method Iterate through the collection of files by using a For Each...Next loop Verify the existence of a file prior to writing to it Use the FileExists method