.VBS 文件扩展名
VBScript File
| 开发者 | Microsoft |
| 受欢迎程度 |
3.8 | 140 票 |
什么是 VBS 文件?
A VBS file is a Visual Basic script written in the VBScript scripting language. It contains code that can be executed within Windows or Internet Explorer, via the Windows-based script host (Wscript.exe), to perform certain admin and processing functions.
更多信息
Primarily, VBS files are used by:
- Windows system administrators, to automate certain admin processes
- Internet Explorer-only webpages, to perform certain functions that HTML alone cannot
- Microsoft’s Internet Information Services (IIS) web server, to perform server-side webpage processing
Are VBS files still used?
Yes, but rarely. Most Windows system administrators now use Windows PowerShell to perform processes they previously performed using VBScript and VBS files. Also, in August 2019, Microsoft announced they would disable VBScript support by default in Internet Explorer, which is the only web browser that ever supported VBScript. Microsoft recommended that developers update any webpages that use VBScript to use JavaScript instead.
注: VBS files may also use the .VB file extension.
如何打开 VBS 文件
You can open and edit VBS files using any text editor, such as Notepad++ (Windows), Apple TextEdit (Mac), or GitHub Atom.
警告
VBS files are typically legitimate VB scripts, but they can also be used to distribute and execute malware attacks. To protect against malware attacks, do not double-click a VBS file you have downloaded or received via email unless you trust the file's source.
