View Single Post
Old 06-12-2009   #1 (permalink)
Admin


 
 

Forfiles command problem

Hi,
On win 2003 r2 We have an activity to move old files which are 2 year old
from E:\ Accounts directory to external USB drive partition F:\Accounts so
I have used below command to move
E:\Accounts>forfiles /s /m *.* /d -730 /c "cmd /c if @isdir==FALSE move
@path F:\Accounts".The files are moving but what was the folder structure is
there in E:\ Accounts its not creating and moving with same structure in
F:\Accounts simply moving all the files to F:\Accounts the problem is that
its over writing the files and for reference its not good.Please help me.


My System SpecsSystem Spec