VBS - 打开Excel和一些addin
@Echo ON Set Launcher="C:\xxx\xx.exe" set Config="C:\xxx\CLIP.cfg" set TargetPath=C:\temp\ set LaunchFile=Calculator.xls ECHO hostname Hostname | find "Loc" >NUL If not errorlevel 1 GOTO Loc :Loc set LaunchPath=\\xxx\ GOTO CALLAPP :CALLAPP ECHO F| xcopy "%LaunchPath%%LaunchFile%" "%TargetPath%%LaunchFile%" /y %Launcher% -c %Config% Sxx.dll Fxxx.dll %Params% %TargetPath%%LaunchFile% GOTO END :END