Ps: I don't know if anyone remembers the code that attacked the QQ group? This is what I wrote!
SendKeys
Simulate a keyboard operation and send one or more key commands to a specified Windows window to control the application running,
The format is:
Vbs basics-Miscellaneous-sendkeys
Simulate a keyboard operation and send one or more key commands to a specified Windows window to control the application running
The format is as follows:Object. sendkeys (string)
Object: Wshshell object
String:
The format is as follows:
Object. sendkeys string
"Object": wshshell object
"String": the string of the key command to be sent, which must be placed in double quotation marks.
1. Basic Key
Generally, the key commands to be sent can be expressed by
PS: Do not know someone still remember this attack QQ group code? is to use this to write!
SendKeys
Simulates the keyboard operation, sending one or more key commands to the specified Windows window to control the application running.
The format
The format used is: Object. SendKeys string
"Object": Represents the WshShell object
"String": Represents the key command string to be sent, which needs to be placed in double quotes in English.
1. Basic key
In general, the key commands to be
Example 1:
The following commands are specified:Log in to 192.168.1.100 first.Telnet 192.168.0.100Username:aaapassword:111Do a few simple pings after landingPing 192.168.0.1Ping 192.168.0.2How to use the batch processing of CMD how to achieve.
Back
Since the Windows 98 era, various script files have emerged constantly. script files are used to directly run various script files on the Windows interface or Dos command prompt, microsoft implanted a 32-bit Windows-based, independent script running
Include all the policies and scripts related to the network. If you find any omissions or errors during reading, please help us to correct them. Thank you very much!
Directory:
001 automatic distribution of printers using group policies and scripts0
Add a domain user or lease to a local group
Set objGroup = GetObject ("WinNT: //./Administrators ")
Set objUser = GetObject ("WinNT: // testnet/Engineers ")
ObjGroup. Add (objUser. ADsPath)
Modify the local administrator passwordSet objcnlar =
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.