Link to home
Start Free TrialLog in
Avatar of E=mc2
E=mc2Flag for Canada

asked on

Copy files that begin with specific letters and numbers and then copy them out once found

I would like to search a folder, for example C:\Attachement\Inbox..  for any files that start with the  following  INBOUND123..... .in  
then I could like to copy if found to another folder called C:\Attachments\Transferred..

What batch command can I use to do this?
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

robocopy C:\Attachement\Inbox\INBOUND123* C:\Attachments\Transferred

Open in new window

copy C:\Attachement\Inbox\INBOUND123* C:\Attachments\Transferred

Open in new window

xcopy C:\Attachement\Inbox\INBOUND123* C:\Attachments\Transferred

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Bill Prew
Bill Prew

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial