The present invention provides secondary 8-hydroxyquinoiine-7-carboxamide derivatives of general formula (I) and pharmaceutically acceptable salts thereof. These compounds are useful as antifungal agents. Specifically, these compounds were tested against Tricophyton Rubrum, Tricophyton Mentagrophytes, Aspergillus Niger and Scopulahopsis Brevicaulis. These compounds are active against Candida species such as Candida Albicans and Candida Glabrata.