Run Batch File Using WScript.Shell in VBScript
This code creates a shell object and uses it to run a command prompt command. The command prompt command starts a batch file named '1.bat' located at 'C:/Soft/apps/123/'. The '/w' option makes the command prompt window wait for the batch file to finish before closing.
原文地址: https://www.cveoy.top/t/topic/b0y3 著作权归作者所有。请勿转载和采集!