Answer» I want to lauch the installer automatically but the installer contains some instructions that need US to click 'Next' or 'Ok'. Is it possible to write a bat command to instruct it so that it can be lauched automatically without pressing mouse?
So far it's my command till:
@ECHO off echo installing yahoo Start /wait F:\Softwares\yahoo PAUSE @echo on
Thanks in advance! I WOULD reccomend using SendKeys in VBScript. First you need to make a list of the keystrokes it takes to complete the installation.
You will need to change this code for your specific needs. This is just to GIVE you an idea.
Code: [Select]Dim WshShell set WshShell = WScript.CreateObject("WScript.Shell") WshShell.SendKeys "[KEY HERE]" Wscript.sleep 1000 WshShell.SendKeys "[KEY HERE]"
Look here: http://msdn.microsoft.com/en-us/library/8c6yea83(v=vs.85).aspx
|