I'm not familiar with setx... where is it storing the values in the registry?

Regardless, you could do something like this:

Code:


$Key="HKLM\Software\YourCompanyName"


while $input<>"q"
CLS
? "{A} User Name: " + readvalue($key,"UserName")
? "{B} Computer Asset Tag: " + readvalue($key,"ComputerAssetTag")
?
?
?
? " Enter {A-M} to change a setting's value, or {Q} to accept and continue:"
get $input
select
case $input="a"
? "Enter User Name: gets $Username
if $username<>""
$=writevalue($key,"Username",$Username,"REG_SZ")
endif
case $input="b"
;do stuff
case $input="c"
;you get the idea
endselect
loop


_________________________
(... better days ahead)