Chapter 12. Filesystem I/OIntroduction Recipe 12.1. Creating, Copying, Moving, or Deleting a File Recipe 12.2. Manipulating File Attributes Recipe 12.3. Renaming a File Recipe 12.4. Determining Whether a File Exists Recipe 12.5. Choosing a Method of Opening a File or Stream for Reading and/or Writing Recipe 12.6. Accessing Part of a File Randomly Recipe 12.7. Outputting a Platform-Independent EOL Character Recipe 12.8. Creating, Writing to, and Reading from a File Recipe 12.9. Determining Whether a Directory Exists Recipe 12.10. Creating, Copying, Moving, or Deleting a Directory Recipe 12.11. Manipulating Directory Attributes Recipe 12.12. Renaming a Directory Recipe 12.13. Searching for Directories or Files Using Wildcards Recipe 12.14. Obtaining the Directory Tree Recipe 12.15. Parsing a Path Recipe 12.16. Parsing Paths in Environment Variables Recipe 12.17. Verifying a Path Recipe 12.18. Using a Temporary File in Your Application Recipe 12.19. Opening a File Stream with Just a File Handle Recipe 12.20. Writing to Multiple Output Files at One Time Recipe 12.21. Launching and Interacting with Console Utilities Recipe 12.22. Locking Subsections of a File Recipe 12.23. Watching the Filesystem for Specific Changes to One or More Files or Directories Recipe 12.24. Waiting for an Action to Occur in the Filesystem Recipe 12.25. Comparing Version Information of Two Executable Modules Recipe 12.26. Querying Information for All Drives on a System Recipe 12.27. Encrypting/Decrypting an Existing File Recipe 12.28. Compressing and Decompressing Your Files |