sampath meka

sampath meka

  • NA
  • 94
  • 31.1k

Search Criteria for a folder using FileSystemObject

Dec 24 2014 8:52 AM
Hello All,

             Using VBScript i want to generate a list of files from a folder.The files in the folder are:

Test_Filename.c
Filename1.c
Filename1.h
Filename2.c
Filename2.h
Filename1.ctr
Filename2.obs
Filename3.project

Need to skip all the files with extension .c,.h but except the filename containing Test_

Output:

Test_Filename.c
Filename1.ctr
Filename2.obs
Filename3.project

Kindly help me in this regard with regular expression if possible

Thanks & Regards,
Sampath


Answers (1)