Fastening, clamping, or guiding devices for the bands or cords of curtains or the like