Welcome to WebmasterWorld Guest from 18.104.22.168
As far as I know, you only have to use Googlebot. Now if the pages you put in your robots.txt are already indexed by Google, it may take a few months for Google to take them out.
This should keep Googlebot away from those parts of your site. If you want to keep all bots away from the same parts of your site, you can do this instead: