You can get this error if you have a virus scanner running - the scanner will have the file open to check it. May want to temporarily disable the scanner and try it.
>i'm getting error file access denied when i try to issue a command,
>
>
erase 'c:\regions\fbas\'+dfolder+'\dummy.txt'>
>how do i get rid of this error?
>
>TIA.
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown