Hi xpanmanx
You could do with a choice box. Something like the below:
Code:
Break on
CLS
?
?
?" IMAGES"
?
?
?" 1 - Cashier"
?" 2 - Fasttrack"
?" 3 - Infoconnect"
?" 4 - Office Standard"
?" 5 - Office Professional"
?" 6 - ODBC 16 Bit"
?" 7 - Outlook 97 - Exchange Client"
?" 8 - Phonedisc"
?" 9 - Registry Entries for Printers"
?" 10 - System changes"
?" 11 - JetForms"
?
?
?" Please enter the number associated with the image to be applied :"
Gets $NUMBER
Select
Case $NUMBER=1
$IMAGE="Cashier"
Case $NUMBER=2
$IMAGE="Fasttrack"
Case $NUMBER=3
$IMAGE="Infoconn"
Case $NUMBER=4
$IMAGE="Msoffstd"
Case $NUMBER=5
$IMAGE="Msoffpro"
Case $NUMBER=6
$IMAGE="odbc16bit"
Case $NUMBER=7
$IMAGE="outlook97"
Case $NUMBER=8
$IMAGE="phonedisc"
Case $NUMBER=9
$IMAGE="registryprn"
Case $NUMBER=10
$IMAGE="system"
Case $NUMBER=11
$IMAGE="jetforms"
EndSelect
Run "\\blah\blah\blah\blah\sysdiff.exe /apply /m \\blah\blah\blah\blah\$image.img"
Exit 1
This is a sample code but should give you some ideas. Hope this helps
Aaron
_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields