thanks foxidrive xcopy method you told is more than perfect.
for single or perticular folders it's ok
I want to mix with FOR command
say if we have to find a folder(s) named "tobecopied" to destnation folder
we can make list as you told in previous post
how it will pick folder name itself.
Here is one way to solve the RD folder issue. There are other ways.
@echo off
for %%a in (Folder4 Folder6 Folder15) do (
RD /S /Q C:\test\%%a
MD C:\test\%%a
)
regading above method, it removing and creating it again,
not the perfect solution, but anyway it will serve purpose very well.
same case as xcopy, to get list from FOR command and removing those folders having "Check" name in it.
I was wondering to get 2 things done with one shot.
I hope I have explained very well, if it's not clear, please reply, I will explain with example.
thanks