Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - Vbs common commands
Vbs common commands
1. Click the WIN button and enter cmd in the run dialog box to open the command prompt window.

2. Enter Notepad at the bottom of the prompt to open the Notepad program.

3. Enter: Msgbox "This is a prompt window" under Notepad.

4. Then click the File menu and select Save As to open the dialog box.

5. Enter the program name: demo in the dialog box. Save the type as all, select the path to save, and then click Save.

6. Enter wscript d:\demo.vbs at the command prompt to open the vbs script program.

7.WSCRIPT is a Windows script host, which is specially used to debug WSH scripts, VBS, js and WSH file formats. Wscript /? See more commands and how to run them.

8. Enter cscript d: \ demo. Prompt at the bottom of Vbs to run the script.

Precautions:

VBS, Microsoft Visual Basic Scripting Edition is the newest member of Visual Basic programming language family, which introduces flexible scripting language into a wider range of applications, including Web client scripts in Microsoft Internet Explorer and Web server scripts in Microsoft Internet Information Server.