Search and Move File in c++

angel fish (1)
hi,
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++
flony1 (7)
an unorthodox, is to use batch commands in c + +
example the copy command
Registered users can post here. Sign in or register to post.