Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: Roedy Green Newsgroups: comp.lang.java.help Subject: copying Date: Thu, 10 Nov 2011 21:13:14 -0800 Organization: Canadian Mind Products Lines: 18 Message-ID: Reply-To: Roedy Green NNTP-Posting-Host: Z2l1DcCELS0rATq8NqV4Sw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org X-Notice: Filtered by postfilter v. 0.8.2 X-Newsreader: Forte Agent 6.00/32.1186 Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.help:1317 Copying a file from one spot on disk to another is a very common operation. It conceptually simple, but rarely done efficiently. I discuss the problem at http://mindprod.com/jgloss/copy.html -- Roedy Green Canadian Mind Products http://mindprod.com Windows is a case-insensitive operating system, but that does not mean you can forget about case. For example, Let us assume you have a file called Abc.txt in C:\temp, and a file called aBc.txt in D:\temp and you type copy C:\temp\abC.txt D:\temp. What is the name of the file in D:\temp when you are done? 1) Abc.txt 2) aBc.txt 3) abC.txt 4) abc.txt 5) ABC.txt Hint, the answer rhymes with the most popular word in advertising.