delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/12/26/10:53:25

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <garbage_collector AT telia DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: Cannot delete shortcuts under windows XP
Date: Fri, 26 Dec 2003 16:52:19 +0100
Message-ID: <NGBBLLIAMFLGJEOAJCCEOEDHDHAA.garbage_collector@telia.com>
MIME-Version: 1.0
In-Reply-To: <BAY7-F29DnKgXhLy4Wn00003e68@hotmail.com>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019