How to copy locked files?

Hi All,
I Want to copy locked files from one drive to another,but when i try to
open these files from UserMode GetLastError returns
ERROR_SHARING_VIOLATION .How to copy these files from one location to
another ?
Please Help!!
Regards
Shekhar

See the FAQ at:
http://www.osronline.com/article.cfm?id=17#Q7

Randy

— NewBie wrote:
> Hi All,
> I Want to copy locked files from one drive to
> another,but when i try to
> open these files from UserMode GetLastError returns
> ERROR_SHARING_VIOLATION .How to copy these files
> from one location to
> another ?
> Please Help!!
> Regards
> Shekhar
>
> —
> You are currently subscribed to ntfsd as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
xxxxx@lists.osr.com

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com