Startup Scripts

So i got Ignite: Spark to push out via a GPO as an assigned app, with also a backup script to do a system check to see if spark is installed as well as the correct parameters for the spark.parameters settings file in the user folder.
Today I finished it off by adding the shortcut to the desktop and to the all users/startup

Here are my scripts below:

Sparkenviro.cmd:
@echo off
cls

if exist “%UserProfile%\Spark\complete.txt” goto End

xcopy “\\***\spark.properties” “%UserProfile%\Spark\*” /q /s /y>NUL
echo Copied>”%UserProfile%\Spark\complete.txt”

echo username=%username%>>”%UserProfile%\Spark\spark.properties”

:End
 
Sparkstart.cmd
copy “\\****\Spark.lnk” “%allusersprofile%\Start Menu\Programs\Startup\*.*” /y>NUL
 
Sparkinstall.cmd
@echo off

cls

echo.

TITLE Silent Spark Install

if exist “C:\***\spark.exe” goto End

“\\****\spark.msi” /passive

copy “\\***\Spark.lnk” “c:\documents and settings\all users\desktop\*.*” /y>NUL

:End