I am trying to get spark to silently install. Here is my script so far:
REM Silent Spark Install
if exist “C:\Program Files\Spark\Spark.exe” goto end
if exist “C:\Program Files (x86)\Spark\Spark.exe” goto end
cd /d "%UserProfile%"
copy \fileserver\apps\spark\spark.properties /y
copy \fileserver\apps\spark\sound-settings.xml /y
The problem is that the spark.properties and sound-settings.xml go to C:\Documents and Settings\userid\spark
I need it to go to the actual redirected profile location which would be:
What is the variable for the current signed on userID and what’s the best way to write that in the batch file?
We also have Desktop Authority ScriptLogic and can do file copy operations as well, but I was wondering if I can include this all in one bat file, that Script Logics appliation launcher can just simply execute hidden at login.