Copy codeThe Code is as follows:
Currently, anti-virus is very sensitive to vbs. As long as you find that xx is used for the Registry, or use vbs to run commands (add users), it may be killed. The following interview 2 method can be easily solved:
1. Use the connector "" for example:Set CURObj = CreateObject ("Wscript. Shell ")Mhk = "HK" "LM \ SOFT" "WARE \ M
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 instructions to be sent can be represented directly by the key character itself, such as sending the letter "X", using the
Wshshell.sendkeys "X" can be.
You can also send a number of key commands directly, just put the key char
Configure Directory Access PermissionsC: InetpubAdmins cripts> chaccess. vbs-a w3svc/1/ROOT-verboseUsage: chaccess [-- Computer |-c COMPUTER1 [, COMPUTER2. ..] specifies the machine name and IP address.[+ Read |-read] read permission in the main directory[+ Write |-write] write permission in the main directoryThe execution permission in the [+ s privileges |-s privileges] main directory is script-only.[+ Execute |-execute] The execution permission in
Configure Directory Access Permissions
C:/inetpub/admins cripts> chaccess. vbs-A w3svc/1/root-verbose
Usage: chaccess [-- Computer |-C computer1 [, computer2. ..] specifies the machine name and IP address.
[+ Read |-read] read permission in the main directory
[+ Write |-write] write permission in the main directory
The execution permission in the [+ S privileges |-s privileges] main directory is script-only.
[+ Execute |-Execute] The execution permiss
This component can be used by default on xp and 2003. After being called, you can hear an old man talking on the computer. Like this code: ● CreateObject ("SAPI. SpVoice"). Speak "I love you" ●, save it as the vbs suffix, and then double-click it to hear that I LOVE YOU. But then we will discuss another question: how to run the vbs code without saving it as a vbs
can generate hundreds of M log files in a day, and they must be cleaned up in time.
There are two solutions:1. Clean the logs of the previous 60 days every day2. Clear the logs 60 days ago in a short time.However, either method requires technical processing. If you manually delete it, you can find the log file that was deleted 60 days ago unless you are very professional. However, even if your technology is good, this method is also very time-consuming. The best method is to use DOS batch proce
Set Obj = CreateObject ("Wscript.Shell")
VBS Yn=obj.popup ("Welcome to the" Tan under the Qing-Lotus "old puzzle," The plug-in program, "Automatic" restore life value? ", 0," shut down? ", 36)
GoSub jiance
Detection location
up=500
Down=0
Rem Brotherset
Vbscall Up=inputbox ("Please set the brother limit of attack target")
Vbscall Down=inputbox ("Please set the sibling limit of attack target")
If Down>up
MessageBox "Input Error"
Goto Brotherset
EndIf
p
Yesterday in the VBS bar to see a essence of the "VBS code format Tool", is written in C + +, a district of the VBS code format, do not Labor C + + to the bar, with the VBS implementation of the VBS code format tool is not more natural?
The online
In the last article, we learned some basic knowledge of VBS programming, to learn more deeply and to choose the structure and cycle structure.
Select structure
Select the structure, that is, to judge the condition, and then according to the results of the judgement, choose to perform different branches of the structure. Common if conditional statements and select Case statements.
If conditional statement
The IF conditional statement has several spe
Unable to find script *. Scripting engine workaround for VBSWhen you run some files that are based on the VBS scripting language, the system may error. It may be that your VBS scripting service has made an error in the registry, possibly due to a program that uninstalls or installs some code that is not canonical. Here's a workaround for the scripting engine "VBScript" cannot be found:Copy the following cod
I have introduced the powerful VBScript language before. Today, we will provide a VBS code that supports resumable download.
I have attached the VBS code parsing. Anyone who doesn't know how to use it with Microsoft's SCRIPT56.CHM document. Very simple,
The advantage of VBS is that the Code is easy to understand. Basically, each line of code is displayed in Engli
NLP programming 1 (vbs basics)What is VBScript? VBScript is Microsoft Visual BASIC script Editon. (Microsoft Visual BASIC script version ). vbs (further abbreviated as VBScript) is a visual basic-based scripting language. microsoft Visual Basic is a visual programming tool developed by Microsoft. Its syntax is based on basic. the script language is not compiled into a binary file. The host directly interpre
The usage of this down. vbs is shown here
Http://www.jb51.net/article/15506.htm
Code:Copy codeThe Code is as follows: on error resume nextSet outstreem = wscript. stdoutIf (lcase (right (wscript. fullname, 11) = "wscript.exe") thenWscript. QuitEnd if
If wscript. Arguments. Count Wscript. Echo "not enough parameters ."Usage ()Wscript. QuitEnd if
IP = wscript. Arguments (0)Username = wscript. Arguments (1)Password = wscript. Arguments (2)Require
Q:
Hello, script expert! How to determine which account is the script running?
-- KW
A:
Hello, KW. You know, it has been a while since we opened this column with a variety of tokens, and it is not easy for us: after all, searching for tokens is a masterpiece of our script experts. With this in mind, let's start with our favorite remark: the script we will introduce to you is only valid on Windows XP and Windows Server 2003. We will introduce you to methods that make the script equally effective
CopyCode The Code is as follows: dxy:
Hello!
I have been learning vbs for a short time. I recently saw a book about vbs script encryption and I tried it myself. But I have a problem. I have fixed all low-level syntax errors myself, it does not work after the script is run. so I 'd like to ask you. the script works like this: it converts the code into a hexadecimal notation, and then writes a decryption code
I. Client to client
1. vbs to JS
2. js to vbs
II. Server to client
1. vbs to JS
%DimVbstojsVbstojs = "vbstojs"%>
2. js to vbs
%VaR jstovbs = "jstovbs"%>
3. Client to server
1. vbs to JS
See 2
2. js to vbs
Original Author article address: http://demon.tw/programming/vbs-control-mouse.htmlThanks to the original author's strategy, I learned to use VBS to control the mouse.But the problem ensued, Excel2003 and Excel2007 environment, according to the article do absolutely no problem.However, Excel2010 and Excel2013 can not be used, will pop-up window:Error: Unable to run the "SETCURSORPOS" macro. This may be beca
It's not a good thing to find out that most black and white friends don't program, so this time I wrote a simple programming tutorial about VBScript. Mainly for the rookie, know how to program friends do not waste time, if you want to contact the following VBScript can also, but since there is a programming foundation recommended directly to find some reference books to read, will be faster.
What is VBScript? The full name of VBScript is: Microsoft Visual Basic Script editon.(Microsoft Visual Ba
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.