Saturday 31 December 2011

Batch File Automation Part-1


Batch File Automation



In the previous post a small detail on how to create a Batch file in MsDos was shown. Just a Batch file by itself is of no use until we have a specific task for it. As an example a Batch file when runs, creates a Notepad file and adds a set of lines in it and saves. This is a very simple example. This kind of requirement is simple in Unix platforms where the shell scripts would help. Similar task can be accomplished by using VB script.



 The structure for such automation is as below

Fig 1 Structure of Automation

In the Fig a batch file would trigger a VB script and the VB script would interact with the application in return

We shall discuss with example how such a structure can be used and automation can be achieved.

Stay tunned……..


No comments:

Post a Comment