Move files based on partial filename

Closed
Hope - Jun 9, 2010 at 10:05 PM
 Hope - Jun 10, 2010 at 02:01 AM
Hello,

I need to move files a*.* to folder a and
move files b*.* to folder b and
move files c*.* to folder b.

I am using vbscript and can move the files but if there are no files with that name - the script bombs out.

How can I avoid this?

Or can I tell it to ignore the 'file not found' error.

Thanks

1 response

Disregard - I found an answer.
0