Electronic properties of originally homogeneous samples of (Hg, Cd)Te, CuInSe2 and (CuAg)InSe2 have been modified on a local scale, in a stable manner, at room temperature, by reverse biasing of small area Schottky contacts on them. This is shown, after the bias voltage is lifted, by I-V measurements and by Electron Beam Induced Current scans. The creation of a clear diode-like, and, in the case of (CuAg)InSe2, transistor-like structure, in the vicinity of the Schottky contact, on a scale of about hundred um, could be explained by electromigration of electrically active ions and by the simultaneous generation of point and line defects. The latter type of defects is revealed for (Hg,Cd)Te by chemical etch, after application of the field.