![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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) |
| | VB Sript to compare and delete files Hi, I have been tasked with something that I find difficult and need some help. I need to compare to folder structures (Files and Subfolders and files) from a project that is wrapping up. What they have asked if I can do a script that compares 2 folders in different locations, and copies the original folder, subfolder and files and overwrites the ones in the project folder which are identical structure and then compares again the 2 folders and deletes all the files in the project folder that does not exist in the original folder?? Now I have done a script that will allow to go through and report back in excel on the folder and subs and detirmine the folder sizes but not detirmine the files.. Can anyone help me out on this??? Thanks Darrin |
My System Specs![]() |
| | #2 (permalink) |
| | Re: VB Sript to compare and delete files "Darrin Owen" <cycling1@newsgroup> wrote in message news:a8ede28f-0286-4e39-82f4-cbc44c32df3a@newsgroup Quote: > Hi, > > I have been tasked with something that I find difficult and need some > help. I need to compare to folder structures (Files and Subfolders and > files) from a project that is wrapping up. What they have asked if I > can do a script that compares 2 folders in different locations, and > copies the original folder, subfolder and files and overwrites the > ones in the project folder which are identical structure and then > compares again the 2 folders and deletes all the files in the project > folder that does not exist in the original folder?? > > Now I have done a script that will allow to go through and report back > in excel on the folder and subs and detirmine the folder sizes but not > detirmine the files.. > > Can anyone help me out on this??? > > Thanks > Darrin robocopy.exe, which you can download from the Microsoft site. |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| ignore whitespace when comparing files using compare-object? | PowerShell | |||
| Compare files and get the differential | PowerShell | |||
| Compare timespan of Files? | .NET General | |||
| Compare 2 files with 6,000 entries each | PowerShell | |||
| Comparing files with compare-object | PowerShell | |||