Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Hannu E K Nevalainen" To: Subject: RE: Cannot delete shortcuts under windows XP Date: Fri, 26 Dec 2003 16:52:19 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit In-Reply-To: X-IsSubscribed: yes > From: Hanguk MY > Sent: Friday, December 26, 2003 12:58 PM > I reinstalled Windows XP pro and tried to manually delete the C:\cygwin > folder, but I can not delete any of the "shortcuts" in the > various folders > (such as the hosts, networks and protocol shortcuts,.. etc). I get an > "access denied" message: "the file is either write protected or > in use"..., > even when I'm logged on as administrator. > > How do I remove these files ??? Try this: C:\> at $h:$m /interactive $c where $h and $m stand for current time plus one minute (at least), and $c for the command to launch. In your case $c should be either "cmd" or "bash" with any options you might like... When you've launcehd either cmd or bash, you're running as the SYSTEM user and will *probably* have more success deleting any undeletable files. /Hannu E K Nevalainen, B.Sc. EE - 59+16.37'N, 17+12.60'E ** on a mailing list; please keep replies on that particular list ** -- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); -- --END OF MESSAGE-- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/