The topical lacquer solution carries and FDA indicated use for onychomycosis (fungal nail infection) of fingernails and/or toenails.
This may be used alone or in combination to treat fungal infections. Were you prescribed this as well as an antibiotic?
Over-the-counter remedies don't really work - that you found out for yourself.
Ciclopirox alone may, however, the best chance of resolving this once and for all is to take the oral antibiotics as well.
Fungal infections in general are challenging to treat.
I am going to provide you a link to read a bit more about this to help you make a decision. In addition to being a long course of antibiotics, you will also require blood tests to monitor your liver during the course of antibiotic therapy.
The link is: http://www.ncbi.nlm.nih.gov/pubmedhealth/PMH0002306/