When you are running some files based on vbs script language, the system may report an error. At this time, it may be because your vbs script Service has an error in the registry, which may be caused by uninstalling or installing some programs with nonstandard code. Here is a solution to the failure to find the script engine "VBScript:
1) find the file c: \ windows \ INF \ wsh. inf and right-click "Install ";
2) Start → run the line Input: regsvr32 urlmon. dll shdocvw. dll jscript. dll VBScript. dll/s
What is wsh?
Wsh is the scaling form of Windows Scripting host (Windows Script Host. Wsh was first introduced in the Windows 98 operating system and is a language-independent script running environment based on a 32-bit Windows platform. For example, you have compiled a script file, such as the suffix. vbs or. JS file, and then double-click and execute it in windows. Then, the system will automatically call an appropriate program to explain and execute it, and this program, it is Windows Scripting host, and the program execution file name is wscript.exe (cscript.exe if it is at the DOS command prompt ).
Do you want to know if wsh is available on your machine? If your machine does not contain the wscipt.exe000000000000cscript.exe files, you can. If you find it, congratulations! You have installed wsh. Otherwise, install it manually:
In Windows 98, wsh is automatically installed as a component of the operating system. If this component is accidentally lost, you can open "control panel --> Add/delete procedure --> Windows Installer --> attachment" in sequence, and then forward "√" before "Windows Scripting Host ", then confirm the installation of the wsh component.