delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/24/18:00:32

Message-ID: <38B5AA55.DF883608@teleline.es>
Date: Thu, 24 Feb 2000 23:01:57 +0100
From: Mariano Alvarez =?iso-8859-1?Q?Fern=E1ndez?= <malfer AT teleline DOT es>
X-Mailer: Mozilla 4.5 [es] (Win95; I)
X-Accept-Language: es
MIME-Version: 1.0
To: djgpp <djgpp AT delorie DOT com>
Subject: Short file names
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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019