hi Agnes,
What dialog are you referring to ? Can you give a piece of code and tell where the dialog pops up ?
__________________________________________________________
>Hi Gregory,
>
>Thank you for your suggestion.
>this was my first idea. ::)
>
>the problem to me is that this will bring up a stupid dialog that I can not trap.
>
>Agnes
>>>Hi All,
>>>
>>>how to determine if a (removable)drive is locked (read only)?
>>>
>>>TIA
>>>
>>>Agnes
>>
>>
>>Agnes,
>>
>>There will be better ways, I am sure.
>>
>>What I did a few years ago, (for diskette) was to try to create an empty file with fcreate() on that drive.
Gregory