Code to find weather the text file start with s exists in the given directory or not.
Suppose we have a directory:
Dim RootPath AS String ="C://Lakhan//"
Dim files As String()
files = Directory.GetFiles(RootPath, "s*.txt")
'Files doesn't Exists
Lakhan Pal Garg