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

 

posted @ 2013-11-26 17:58  LevyFan  阅读(323)  评论(0编辑  收藏  举报