Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!ox.com!math.fu-berlin.de!unidui!unido!gmdzi!focke From: focke@gmdzi.gmd.de (Stefan Focke) Newsgroups: comp.lang.pascal Subject: Re: how can I readout my FAT? Message-ID: <4585@gmdzi.gmd.de> Date: 22 Apr 91 10:33:10 GMT References: <9770@star.cs.vu.nl> Organization: GMD, St. Augustin, F.R. Germany Lines: 28 erwvegm@cs.vu.nl (Erwin van Egmond) writes: >Hi, > I'm using TP5.5 and I want to know if and how I can find out > on wich sector/cluster a file is placed. > I must probably readout my FAT, but how do I do that? > Is there someone out there who can help me? Please? Hello, it is not too hard to do that: - Read the boot-sektor to find out where your directory and FAT is - From the directory you get the first cluster of your file - Than you have to follow the FAT to find all clusters of your file - You have to find out if you have a 12-bit or a 16-Bit FAT (DOS 4.x) I do not know where you can find this information. Who can help? mfg Stefan ------------------------------------------------------------------- Stefan Focke Tel. 02241-14-2265 GMD-Z2.W e-mail: focke@gmdzi.uucp Postfach 1240 focke@gmdzi.gmd.de 5205 St. Augustin 1 ...!{uunet!mcvax!}unido!gmdzi!focke