[comp.sys.ibm.pc.programmer] A TC Hard Disk handling problem

cca10@cl.cam.ac.uk (Christopher Anderton) (05/04/90)

  I am writing about a problem I am having with TC. I am
administering/programming a set of Token Ringed PS/2s. These used to run under
DOS 3.3 but now run under DOS 4.00. I have been writing a program to evaluate
the disk space used by individual users (as PC-LAN 1.3 doesn't have disk
quotas) and have hit the following problem:

  If I compile on a machine that had its hard drive partitioned and formatted
by DOS 3.3 (ie all that happened was an OS upgrade, the disks were not
reformatted) then the program cannot read the hard drive of a PS2 that has a
`large' 60Mb partition. If I compile on a large partition machine then I can
scan the disks of small partition machines. I do know what the format
differences are. I would like to know how to compile on a small partition
machine (which I must do on occasion) and still allow large partition disks to
be read. I am using getfat once to find out the cluster size and then findfirst
to find files and their sizes.

  One other minor request. I do not know what version my TC is. When excuting
the following:

  printf ("%04x", __TURBOC__) ;

I get:

  018d

  I would be grateful if someone would explain to me how to understand this and
if they would tell me what the latest release is please.

Chris Anderton

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Chris Anderton :: CCA10@UK.AC.CAM.PHX  "Meaningless, Meaningless", said the
               :: CCA10@UK.AC.CAM.CL   Teacher. "Utterly Meaningless! Everything
The above are JANET addresses.         is Meaningless."