delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/01/16/10:27: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
Message-ID: <F76C9B2DA2FC4C4CA0A18E288BBCBCF70361F115@nihexchange24.nih.gov>
From: "Buchbinder, Barry (NIH/NIAID)" <BBuchbinder AT niaid DOT nih DOT gov>
To: cygwin AT sources DOT redhat DOT com
Subject: RE: deleting a file ending with a dot
Date: Fri, 16 Jan 2004 10:20:33 -0500
MIME-Version: 1.0
X-IsSubscribed: yes

If Windows lets tar create a file that Explorer cannot remove, it sounds
like a Windows problem.

(1)
Try rebooting.  Maybe one of your earlier attempts to delete succeeded but
some file name cache is preserving the name.  (I've noticed that on rare
occasions a file gets deleted but Explorer still shows it.)

(2)
Run scandisk.  Maybe it will find the problem and fix it.

(3)
I'd try this in Explorer.
(a) Create a new temporary directory.
(b) Copy or move everything in the directory with the troublesome file to
the temporary directory.
(c) Delete the directory with the troublesome file.  I'd try holding down
the shift key, which really deletes, rather than just send the directory to
the Recycle Bin.  (We're trying to fix the problem not just move it.)  If it
won't delete, just move it somewhere out of the way and forget about it for
now.  (Maybe someday you will find that it has fixed itself.)
(d) Move or rename the temporary directory to the name and place of the now
deleted directory with the troublesome file.  Or recreate the deleted
directory and move stuff back.

-----Original Message-----
From: Baurjan Ismagulov [mailto:ibr AT ata DOT cs DOT hun DOT edu DOT tr] 
Sent: Friday, January 16, 2004 6:57 AM
To: cygwin AT sources DOT redhat DOT com
Subject: deleting a file ending with a dot

Hello,

tar has created a file ending with a dot, and now I can't delete it
(I've tried rm, del in cmd, explorer, far, unlink call with and without
-mno-cygwin). What would you suggest before I search an 8-GB volume for
the directory entry with a disk editor? I would appreciate any help
(pointers to NTFS directory structure description also welcome).
Scandisk didn't report any problems.

Thanks in advance,
Baurjan.

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