Forum Moderators: open
If you want to prevent URLs from appearing, you're better allowing Google to fetch them in your /robots.txt and then using the robots META tag to remove the page from Google.
Alternatively, you can send the bots away using HTTP as George suggests, but I'd be inclined just to make the links to those URLs non-followable (eg. Javascript or USER_AGENT cloaking.