Sign in with
Sign up | Sign in
Your question

Batch code to do "Shift+F2" key operation

Last response: in Windows XP
Share
January 7, 2010 9:16:22 AM

Hello Everyone,

Can you please tell the command line code to do "Shift" + "F2" key operation i,e. Pressing Shift+F2 key from Batch file.


Thanks in Advance,
Tejeshwini
January 8, 2010 5:00:41 AM

Try this... save it as .bat file :) 

set temp=nothing:rem&cscript "%0" //E:VBS //NOLOGO&set temp=&GOTO:EOF
Set WSShell = WScript.CreateObject("WScript.Shell")
WSShell.SendKeys "{ENTER}"


-Aloysius Jegan

http://www.aloysiusjegan.in
!