This is the mail archive of the
mailing list for the Cygwin project.
RE: Cannot delete shortcuts under windows XP
- From: "Hannu E K Nevalainen" <garbage_collector at telia dot com>
- To: <cygwin at cygwin dot com>
- Date: Fri, 26 Dec 2003 16:52:19 +0100
- Subject: RE: Cannot delete shortcuts under windows XP
> 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 ???
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