Sei sulla pagina 1di 7

Comparison of files in two different folders

Comparison of files in two different folders


June 14, 2011

Table of Contents

1. INTRODUCTION

1.1. Purpose of this Document

2. ADD –ON SETUP PROCEDURES

2.1. Requirements

3. DESIGN

3.1. Screen shots

4. TEST CASE

5. EXCEPTIONS

6. CONCLUSION

Copyright © 2011 virtusa Corporation Page 1


Comparison of files in two different folders

1. INTRODUCTION

“Comparison of files in two different folders “ Add-on is used to compare the files in two different folders.

1.1. Purpose of this Document

This document describes the implementation of Add-on “Comparison of files in two different folders “by
virtusa. The procedures defined here comply with execution of batch script.

2. ADD –ON SETUP PROCEDURES

2.1. Requirements

The below requirement are needed to run the Add-on “Comparison of files in two different folders “

 VPN Connection
 Share folder in Remote server
 Command Prompt

3. DESIGN

The script is designed in a manner that it copies data from remote server to the local desktop then compare
the files of two servers. It performs the operations according to the choice of
User.
1. If choice is 1 it copy the files from remote server
2. If choice is 2 it starts to compare the scripts and results are stored in
3. Choice is 3 it exit from the batch itself

. The below screen shot will clearly explain the scenarios

3.1. Screen shots

1. It gets the choice from the users

2. If choice is 1 it copy the files from remote server

Copyright © 2011 virtusa Corporation Page 2


Comparison of files in two different folders

3. If choice is 2 it starts to compare the scripts and results are stored in

Copyright © 2011 virtusa Corporation Page 3


Comparison of files in two different folders

“Resultofcomparison.txt “and “MissingFiles.txt”

“MissingFiles.txt”

Copyright © 2011 virtusa Corporation Page 4


Comparison of files in two different folders

“Resultofcomparison.txt “

4. Choice is 3 it exit from the batch itself

Copyright © 2011 virtusa Corporation Page 5


Comparison of files in two different folders

4. TEST CASE

Copyright © 2011 virtusa Corporation Page 6


Comparison of files in two different folders

5. EXCEPTIONS

In this script we are able to compare the files in the local desktop not in the remote desktop.

6. CONCLUSION

This script automates the process of file comparison. So, it save the time of the user and helps to find out the
difference between script and batches which resides in the directory

Copyright © 2011 virtusa Corporation Page 7

Potrebbero piacerti anche