jup, its just a one liner like:

$= writevalue("Control Panel\International","sShortDate","yyyy/MM/dd", "REG_SZ")

-Shawn