You can even pipe it straight into the next command say dsmove

check out this link for ideas

dsquery_wildcard
_________________________
If at first you don't succeed, try again. Then quit. There's no use being a damn fool about it. - W.C Fields