home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winbase / io / fwatch / readme.txt < prev   
Text File  |  1996-07-23  |  1KB  |  28 lines

  1. FWATCH demonstrates the usage of the ReadDirectoryChangesW API.
  2.  
  3. The FWATCH sample will display changes to watched directories and files in
  4. the command window. The directories and files to be watched are specified
  5. in the FWATCH.INI file which can be left in the application directory. 
  6.  
  7. FWATCH.INI is set by default to look at 3 directories:
  8. c:\dir1
  9. c:\dir2
  10. c:\dir3
  11.  
  12. and three files in each of these directories:
  13. file1.txt
  14. file2.txt
  15. file3.txt
  16.  
  17. Once FWATCH.EXE is started, open any of the above text files with NOTEPAD, make 
  18. some changes to the file, and then save it. You should see a notification in the 
  19. FWATCH console window immediately. You will be advised of exactly which file 
  20. changed, what the new (current) size is, and when the last write occured.
  21.  
  22. To exit the application, type "q".
  23.  
  24. FWATCH creates the directories and files mentioned above. Use File Manager or 
  25. a similiar utility to remove the directories/files after using FWATCH.
  26.  
  27. FWATCH will work only on Windows NT version 3.51 SP3 or greater.
  28.