This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 ???

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); --

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]