Welcome to WebmasterWorld Guest from 126.96.36.199
Forum Moderators: goodroi
At the top of every forum here at WebmasterWorld you will find a link to the forum Charter [webmasterworld.com] which is a *must read* for each forum. In the Charter for this forum you will find information on robots.txt including a
Robots.txt Tutorial [webmasterworld.com] which has an example of what you ask.