0% found this document useful (0 votes)
6 views2 pages

Example Script

This document is an example script for the Snappy Driver Installer Origin, authored by Glenn Delahoy. It outlines commands for initializing the script, saving system information, checking for updates, installing driver updates, and performing cleanup. The script operates in test mode by default and can be set to live mode by enabling installation.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views2 pages

Example Script

This document is an example script for the Snappy Driver Installer Origin, authored by Glenn Delahoy. It outlines commands for initializing the script, saving system information, checking for updates, installing driver updates, and performing cleanup. The script operates in test mode by default and can be set to live mode by enabling installation.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

#

# Snappy Driver Installer Origin


#
# Title: Example Script
# Author: Glenn Delahoy
# Description: Shows the various commands in action.
# Notes: Test mode by default. Set 'enableinstall on' to make it live.
#

echo ==============================
echo Snappy Driver Installer Origin
echo Example Script
echo ==============================
echo

echo Script File Name: %0


echo Parameters: %1 %2 %3 %4 %5 %6 %7 %8 %9

; ***************************
; * initialisation *
; ***************************
echo Initialising
verbose 384
;debug on
logging on
enableinstall off
keeptempfiles on
init

; ***************************
; * save system info *
; ***************************
:info
echo Writing device list
writedevicelist devicelist.txt
echo Writing snapshot
snapshot

; ***************************
; * download updates *
; ***************************
:updates
echo Checking updates
checkupdates
onerror goto :end
;echo Getting application updates
;get app
;echo Getting indexes
;get indexes
echo Getting driver pack updates for what i already have
get driverpacks updates
;echo Getting application updates
;get everything

; ***************************
; * install driver updates *
; ***************************
:install
echo Creating restore point
restorepoint
onerror goto :end
select missing better lan wlan-wifi
install
onerror goto :end

; ***************************
; * cleanup *
; ***************************
:end
logging off
debug off
reboot ifneeded
echo *** END ***
end

You might also like