Hi! Could someone tell me how to detect whether one's program is on a writable media (i.e. hard drive) or non - writable (i.e. CD ROM or Write protected floppy) without error messages.
P.S: I tried saving a text file and checking if it exists - this only produces errors!