@Echo ONSet Launcher="C:\xxx\xx.exe"set Config="C:\xxx\CLIP.cfg"set TargetPath=C:\temp\set LaunchFile=Calculator.xlsECHO hostnameHostname | find "Loc" >NULIf not errorlevel 1 GOTO Loc:Locset LaunchPath=\\xxx\GOTO CALLAPP:CALLAPPECHO F| xcopy "%LaunchPath%%LaunchFile%" "%TargetPath%%LaunchFile%" /y%Launcher% -c %Config% Sxx.dll Fxxx.dll %Params% %TargetPath%%LaunchFile%GOTO END:END