Thank for the suggestion I got to know about this but when I use this exe in perl tk module under a button a dos window poops up and stays on the screen until the complete set of process Is not completed so that's the reason I was looking for some better programmatic option.