Search and Move File in c++

i want to search a special folder (and SubFolders) for Sh files (*.sh) then copy them (if found) to specified directory in Dev-C++ ,so that i need two function:
1-Search in specified directory for special FileType (*.sh)
2-Copy given file to specified directory .

in linux/bash Scripting you can do this easily but i should do this in Dev-C++
an unorthodox, is to use batch commands in c + +
example the copy command
Topic archived. No new replies allowed.