You could use a WMI query to look for the Chassis type. There are only a number of predefined Chassis types, so you can easily distinguish laptops/desktops in 1 script. Look here for more info:
Microsoft Windows 2000 Scripting Guide - Identifying the Chassis Type of a Computer
Frank