delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-developers-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-developers-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin-developers/> |
List-Post: | <mailto:cygwin-developers AT cygwin DOT com> |
List-Help: | <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-developers-owner AT cygwin DOT com |
Delivered-To: | mailing list cygwin-developers AT cygwin DOT com |
From: | "Gerald S. Williams" <gsw AT agere DOT com> |
To: | <cygwin-developers AT cygwin DOT com> |
Subject: | RE: True case-sensitive filenames |
Date: | Mon, 20 Jan 2003 14:13:20 -0500 |
Message-ID: | <GBEGLOMMCLDACBPKDIHFAEOODAAA.gsw@agere.com> |
MIME-Version: | 1.0 |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |