run script on reboot

Hello ,

I want to run a script from the lockdown page on a windows CE device. I want to start velocityCE in that script when it is installed : 

if exist "\Program Files\Wavelink\VelocityCE\VelocityCE.exe"
start "\System\Wavelink\VelocityCE\VelocityCE.exe"

When it is not installed i want to wait ( installation of a package ) and put a message box on screen, telling them to wait for 60 seconds. 

Any idea how to script that ?

Many thanks

5 years ago
Windows
ANSWERS
J
JVMOD@SOTI
5 years ago

Hello Jan Pieter,

Thank you for your post, please try following script -

if not exist "\Program Files\Wavelink\VelocityCE\VelocityCE.exe" echo "Please wait for 60 seconds"

sleep 60

start "\System\Wavelink\VelocityCE\VelocityCE.exe"

Please let me know if this answers your question.

Regards,