Replace blanks with underscores in filenames

I need to replace all blanks with underscores in a set of selected filenames. I'm sure this is easy in DOpus, but I can't quite figure out how. Any help would be much appreciated. Thanks.

rename PATTERN=" " TO="_" FINDREP

Thanks!