Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!sun!pitstop!sundc!seismo!uunet!mcvax!unido!fauern!faui44!immd3.informatik.uni-erlangen.de!rtregn From: rtregn@immd3.informatik.uni-erlangen.de (Robert Regn) Newsgroups: comp.sys.ibm.pc Subject: Re: problem with disk copy Message-ID: <840@faui10.informatik.uni-erlangen.de> Date: 14 Feb 89 11:15:11 GMT References: <6349@ecsvax.uncecs.edu> Organization: IMMD I, University of Erlangen, W-Erlangen Lines: 19 From article <6349@ecsvax.uncecs.edu>, by harris@ecsvax.uncecs.edu (Mark Harris): - I've run into a slight problem with a disk copying program I wrote to - speed up the process of making multiple copies of a single disk. I use - BIOS interrupt 13h to copy all the sectors of a disk to a 360k file on - my hard disk, then I reverse the process, repeatedly copying the file - to formatted blank disks. I noticed that if I did a 'dir' on a blank disk, - then ran my copy program another 'dir' still showed the disk blank. If I - simply open then close the drive door and do a dir I see the correct files. - I assume that the old FAT and directory are still buffered when int 13 bypasses - DOS. Any recommendations on what I should do at the end of a disk copy to - 'log in' the altered disk? Why you don't use int 25h ? It works a level higher and you nedd not worry about sectors and heads. Robert Regn rtregn@faui32.uucp rtregn@immd3.informatik.uni-erlangen.de