Single-crystalline, size, and orientation controllable nanowires and ultralong microwires of organic semiconductor with strong photoswitching property.