How to prevent search bots from viewing all folders except one?

Here are the folders:

qqq1 - root directory

 qqq1----www1 eeee2 tttt3---index.php 

It is necessary to prohibit all folders except tttt3

    1 answer 1

     User-agent: * Disallow: / Allow: /tttt3 
    • Are you sure that this is a ride? I checked this varinat not working. Maybe ... check again. - gilo1212
    • @ gilo1212, Sure - Mihanik71
    • Strange, does not want to work, or I PPC ... The robot says that there is no access. - gilo1212
    • it seems to work ... hmm ..... not sure for 100 - gilo1212
    • index.php in qqq1 does not see. - gilo1212