Using VB 6.0, I would like to output to a .txt file all the .pgo files listed in "C:\Machine Files\". There are other types of files located in the directory, (.exe, .xls, .txt...) but I only want the ones with a .pgo extention. The number of .pgo files will change from day to day. The output file would look like this:
C:\Machine Files\Machine1.pgo
C:\Machine Files\Machine2.pgo
C:\Machine Files\Machine3.pgo
I really appreciate any help.:cool: