Cygwin.ico & Cygwin-Terminal.ico cannot be deleted
Larry Hall (Cygwin)
reply-to-list-only-lh@cygwin.com
Thu Jan 14 23:34:00 GMT 2016
On 1/14/2016 3:24 AM, Ming wrote:
> Hi all,
>
> After installed cygwin, I tried to delete the whole directory "cygwin",
> everything can be deleted, however Cygwin.ico & Cygwin-Terminal.ico will be
> re-created automatically.
>
> After reboot the server, I can delete the directory without problem.
> However, anyone know why? And how to delete the directory without reboot?
Windows won't allow you to delete files that are opened without appropriate
sharing flags. Many apps don't set those flags appropriately. There are
tools to help you find the apps that have handles open to files you cannot
delete. Two I know of are:
<https://technet.microsoft.com/en-us/sysinternals/bb896655.aspx>
<https://technet.microsoft.com/en-us/sysinternals/processexplorer>
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
216 Dalton Rd. (508) 893-9889 - FAX
Holliston, MA 01746
_____________________________________________________________________
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list