>>>>My guess would be that you had an illegal file name.
>>>
>>>How can I simulate that error illegal file name from the command prompt?
>>
>>ERASE ("D:\ My File")
>
>This is accepted without any error message.
Try it with an invalid drive letter or invalid directory.
Craig
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer