Mail Archives: djgpp/2000/02/24/18:00:32
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 -