Home > Web Front-end > JS Tutorial > body text

How to open .vbs

云罗郡主
Release: 2019-02-19 17:29:57
Original
10615 people have browsed it

The .vbs file is a file with the .vbs suffix, as shown below: If we want to open the file, we can use two methods to open it. Let’s introduce each one below. [Recommended reading: What is .vbs file

How to open .vbs

1. Double-click directly Run

test.vbs is a file just written by the editor using Notepad. The content of the file only contains one line of code: msgbox "Welcome to use vbs script!". Under normal circumstances, double-click the file. It will run as shown in the figure below, and an information prompt box will pop up.

How to open .vbs

2. Run under the command line

In addition to double-clicking the file to run, you can also run the file under the command line. Method: wscript //e:vbscript test.v //e:vbscript test.vbs. If the current directory of the command line window is not in the same directory as the vbs file, the path needs to be added before the vbs file to ensure that the command can find the vbs file.

If neither of the above two methods works properly, the file type link may have been changed, or the wscript.exe file may be damaged or missing.

The above is the detailed content of How to open .vbs. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template