Anatoliy,
thanks, I will have a look at this.
Agnes
Update:
I have checked the link, the (DELPHI) solution is most like the FCREATE() thing. The problem with FCREATE() is, that it will come up with an Message box in a Cancel/retry/ignore style where ignore makes no sense to my programm.
Agnes
>No help from API functions GetDriveType, GetVolumeInformation etc.
>
>It seems to me the only way is to write something on this drive, or change its label with SetVolumeLabel API function.
>
>Check this link, same subject:
>
http://www.experts-exchange.com/Programming/Programming_Languages/Delphi/Q_20654554.html>
>Error code 19 = ERROR_WRITE_PROTECT
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]