Substituted sulphonamides having the general formula (I) and salts, hydrates and solvates thereof were prepared and described, wherein R1 is CO or SO2 and R2 is NH or O and where R represents linear or cyclic aliphatic chain and n represents number of linking aliphatic chain carbons (n can be 0, 1, 2 or 3), which are useful in the manufacture of the medicaments due to the carboanhydrase inhibition. These compounds are prepared by nucleophilic reaction of an amine with 4-sulfamoylbenzenesulphonyl chloride in the presence of triethylamine excess in tetrahydrofurane or in ether at temperature 0 to 20° C. The compounds show an antiglaucomatic activity.