Message-ID: <38B5AA55.DF883608@teleline.es> Date: Thu, 24 Feb 2000 23:01:57 +0100 From: Mariano Alvarez =?iso-8859-1?Q?Fern=E1ndez?= X-Mailer: Mozilla 4.5 [es] (Win95; I) X-Accept-Language: es MIME-Version: 1.0 To: djgpp Subject: Short file names Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Hello, do somebody know how to get/set the short file name in w9x when you are using LFN's? I didn't found any routine to do that in libc. I want that, to make a simple migrate utility. Last week a friend bought a new hard disk and he wanted to migrate all his files to the new drive. I did that: 1- Installed the new drive like slave. 2- Partitioned and fomated it. 3- xcopy all the files (using w95) 4- put the new drive like master 5- boot with floppy and do fdisk /mbr 6- It work! But there was a problem, some short file names wasn't the same, and some programs didn't work. I was able to repair it by hand, but it will be nice to have a cp utility who take care of LFN and SFN too.