Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 9. WMI Continued > Alternate Ways of Configuring the WMI Moniker - Pg. 164

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