Newbie here.
I need to be able to locate filenames within a folder. I know the name of the folder and the first two chars of the filename, I also know the extension.
How can I achieve this
Dim ofs, oaf
set ofs = WScript.CreateObject("Scripting.FileSystemObject"
set oaf = ofs.GetFileName("C:\CSV\*.vbs"
however this fails as you can not use wildcards
HELP!!
Thanks
Steve
I need to be able to locate filenames within a folder. I know the name of the folder and the first two chars of the filename, I also know the extension.
How can I achieve this
Dim ofs, oaf
set ofs = WScript.CreateObject("Scripting.FileSystemObject"
set oaf = ofs.GetFileName("C:\CSV\*.vbs"
however this fails as you can not use wildcards
HELP!!
Thanks
Steve