Code:

Shell 'PortQry.exe -n '+$ipaddr+' -e 135 -nr -q'
$PC = iif(@ERROR,'Not Windows','Windows')
? $pc



Edited by Radimus (2005-08-12 02:58 PM)
_________________________
How to ask questions the smart way <-----------> Before you ask