Grep equivalent in DOS

SSuhaib

Member
Hi experts,

I want to copy full ai files and rename to a different folder in a dos batch script.
It could be like :

proenv>rfutil sports2000 -C aimage full

the output will be

c:\test\sports2000.a3

How to copy this file & rename it with date & time attatched as extensions or with any other name to another folder in DOS.

In unix it is simple, use grep and assign it to a variable and then cp. What is the DOS equivalent.

TIA
 
Back
Top