Login | |
|
 |
Re: FileExists with Wildcards - 5/20/2005 1:07:26 AM
|
|
 |
|
| |
Country73
Posts: 733
Score: 10
Joined: 8/25/2004
From: USA
Status: offline
|
This should help you out: ArchiveFolder = "\\epsilon\archives\" & User If FSO.FolderExists(ArchiveFolder)Then Set g = FSO.GetFolder(ArchiveFolder) Set gg = g.Files For Each g1 in gg If Right(g1,3) = "pst" Then 'Copy File if found wscript.echo g1 End If Next End If
|
|
| |
|
|
|
|
|