![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | 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 Specs![]() |
| | #2 (permalink) |
| | 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. alt.msdos.batch.nt. |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Forfiles command problem Hi, Could you provide the respective group link? "Pegasus [MVP]" <news@xxxxxx> wrote in message news:O1%23WMDy6JHA.1372@xxxxxx Quote: > > "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 Specs![]() |
| | #4 (permalink) |
| | Re: Forfiles command problem "Admin" <admin@xxxxxx> wrote in message news:eX50AWy6JHA.4116@xxxxxx Quote: > Hi, > Could you provide the respective group link? > Google search box and see what happens - like so: "alt.msdos.batch.nt" |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Run command problem in vbs | VB Script | |||
| FORFILES Command | VB Script | |||
| Re: Problem with Command Interpreter | Vista General | |||
| Problem with get-command | PowerShell | |||
| Forfiles question | .NET General | |||