View Single Post
Old 06-12-2009   #2 (permalink)
Pegasus [MVP]


 
 

Re: Forfiles command problem


"Admin" <admin@xxxxxx> wrote in message
news:OD2F$qx6JHA.1432@xxxxxx
Quote:

> 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.
Nothing to do with VB Scripts - I recommend you repost in
alt.msdos.batch.nt.


My System SpecsSystem Spec