Clouseau
01-Oct-2011, 09:22 AM
Hi Guys,
I am looking to create a rather complicated script for BC and was hoping to get some help or insight on how to create it. Essentially I am looking to create a script that performs three actions within one script:
1. Examines two folders containing xml files. It then generates a report showing the differences between the two folders in terms of missing files and indicates which ones were missing. So, if there were 230 files in one folder and only 200 in the other, it would generate a report telling the user which 30 were missing from the folder.
2. Once this report is generated, all the equal files (matching files in both folders) will be compared and a html report showing a side-by-side comparison will be generated for each file. Thus, if there were 20 files, there would be 20 html reports.
3. Finally, when this type of report is generated, it should be able to classify and label them with the files' name. Also, depending on if there were important or unimportant differences in these files they would be stored in the appropriately labeled folder.
In addition, this script has to be fairly user friendly so that a user can quickly go in and modify which folders are being examined, where the reports will be generated to and change the BC session being loaded.
I know this is a lot to ask and believe me I am working hard myself to solve this quandry as well but I thought since you were the experts you might be able to offer me some direction.
I really appreciate your time in helping me out with this,
Trevor
I am looking to create a rather complicated script for BC and was hoping to get some help or insight on how to create it. Essentially I am looking to create a script that performs three actions within one script:
1. Examines two folders containing xml files. It then generates a report showing the differences between the two folders in terms of missing files and indicates which ones were missing. So, if there were 230 files in one folder and only 200 in the other, it would generate a report telling the user which 30 were missing from the folder.
2. Once this report is generated, all the equal files (matching files in both folders) will be compared and a html report showing a side-by-side comparison will be generated for each file. Thus, if there were 20 files, there would be 20 html reports.
3. Finally, when this type of report is generated, it should be able to classify and label them with the files' name. Also, depending on if there were important or unimportant differences in these files they would be stored in the appropriately labeled folder.
In addition, this script has to be fairly user friendly so that a user can quickly go in and modify which folders are being examined, where the reports will be generated to and change the BC session being loaded.
I know this is a lot to ask and believe me I am working hard myself to solve this quandry as well but I thought since you were the experts you might be able to offer me some direction.
I really appreciate your time in helping me out with this,
Trevor