Advertisement
Guest User

SendKeys WiP

a guest
Sep 7th, 2022
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 1.84 KB | None | 0 0
  1. @echo off
  2. Setlocal
  3.  
  4. :: Set up vars
  5. ::set "vbsfile=%tmp%\temp.vbs"
  6. set "vbsfile=C:\Users\%username%\Desktop\temp.vbs"
  7.  
  8. if exist "%vbsfile%" Del "%vbsfile%"
  9.  
  10. (
  11. echo WshShell.SendKeys "^{HOME}"
  12. ) > %vbsfile%
  13.  
  14. echo TOP OF WINDOW
  15.  
  16. for /F "tokens=2 delims='='" %%A in ('%SystemRoot%\System32\wbem\wmic.exe csproduct get vendor /value') do set system_manufacturer=%%A
  17. echo %system_manufacturer%
  18. echo %system_manufacturer%
  19. echo %system_manufacturer%
  20. echo %system_manufacturer%
  21. echo %system_manufacturer%
  22. echo %system_manufacturer%
  23. echo %system_manufacturer%
  24. echo %system_manufacturer%
  25. echo %system_manufacturer%
  26. echo %system_manufacturer%
  27. echo %system_manufacturer%
  28. echo %system_manufacturer%
  29. echo %system_manufacturer%
  30. echo %system_manufacturer%
  31. echo %system_manufacturer%
  32. echo %system_manufacturer%
  33. echo %system_manufacturer%
  34. echo %system_manufacturer%
  35. echo %system_manufacturer%
  36. echo %system_manufacturer%
  37. echo %system_manufacturer%
  38. echo %system_manufacturer%
  39. echo %system_manufacturer%
  40. echo %system_manufacturer%
  41. echo %system_manufacturer%
  42. echo %system_manufacturer%
  43. echo %system_manufacturer%
  44. echo %system_manufacturer%
  45. echo %system_manufacturer%
  46. echo %system_manufacturer%
  47. echo %system_manufacturer%
  48. echo %system_manufacturer%
  49. echo %system_manufacturer%
  50. echo %system_manufacturer%
  51. echo %system_manufacturer%
  52. echo %system_manufacturer%
  53. echo %system_manufacturer%
  54. echo %system_manufacturer%
  55. echo %system_manufacturer%
  56. echo %system_manufacturer%
  57. echo %system_manufacturer%
  58. echo %system_manufacturer%
  59. echo %system_manufacturer%
  60. echo %system_manufacturer%
  61. echo %system_manufacturer%
  62. echo %system_manufacturer%
  63. echo %system_manufacturer%
  64. echo %system_manufacturer%
  65. echo %system_manufacturer%
  66.  
  67.  
  68. echo. &echo. Press any key to run SendKey.vbs &>nul timeout /t -1
  69.  
  70. cscript //nologo %vbsfile%
  71.  
  72. if exist "%vbsfile%" Del "%vbsfile%"
  73.  
  74. echo. &echo. Press any key to exit &>nul timeout /t -1 &exit /B
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement