Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT cygwin DOT com Delivered-To: mailing list cygwin-developers AT cygwin DOT com From: "Gerald S. Williams" To: Subject: RE: True case-sensitive filenames Date: Mon, 20 Jan 2003 14:13:20 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal In-Reply-To: <59A835EDCDDBEB46BC75402F4604D5528F75E6@elmer> Sergey Okhapkin wrote: > See my previous message - MoveFile("asdf", "ASDF") will delete existing > file "AsDf". I see. Perhaps another possibility would be to create a hardlink and then delete the old file. You couldn't use the CreateHardLink() function, since it has the same case problems (and is NT5+ only), but there are other ways (http://www.mvps.org/win32/ntfs/lnw.html, for example--I think U/Win does something similar). You can always fall back on the copy/delete mechanism, which appears to be there for Win95 anyway. -Jerry