@echo off set /p x="Source:" echo. set /p y="Destination:" echo. set /p e="Extension:" echo. copy %x%\*.%e% %y% echo Select an option to do: echo. echo Hide=h Read-Only=r echo. echo Sys-file=s archive=a set /p z="My option:" echo. attrib %y%\*.%e% +%z% goto :eof write in notepad and save it as filename.bat run and check....!!
here are a few logical mistakes in this code but ignore them.this code is for multiple files copying of a specific extension.and if u want to copy all files of any extension, type * when u are prompted for extension.i m new to DOS so ignore mistakes...!!