Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!ames!lll-tis!ptsfa!ihnp4!inuxc!iuvax!bsu-cs!zoo-hq!dhesi From: dhesi@zoo-hq.UUCP (Rahul Dhesi) Newsgroups: comp.sys.ibm.pc Subject: Patch to make Turbo C configuration file global Message-ID: <17@zoo-hq.UUCP> Date: Sat, 20-Jun-87 01:07:10 EDT Article-I.D.: zoo-hq.17 Posted: Sat Jun 20 01:07:10 1987 Date-Received: Mon, 22-Jun-87 05:34:20 EDT Reply-To: dhesi@zoo-hq.UUCP (Rahul Dhesi) Followup-To: junk Organization: Zoo Headquarters, Muncie, Indiana Lines: 14 Summary: TCC.EXE can be patched so it always looks for its configuration file in the root directory of your hard disk regardless of which is the current directory. The command-line version of Turbo C, called TCC.EXE, wants its configuration file to be in the current directory (unless you are using MS-DOS 3.x). To make its configuration file available from everywhere on a hard disk, change the name of the configuration file from TURBOC.CFG to \TCC.CFG and put the configuration file TCC.CFG in the root directory of the hard disk. On my copy of TCC.EXE version 1.0, the patch needs to be made at offset 0x292a6 from the beginning of TCC.EXE. (It may be different for your copy, because I hear not all version 1.0s are identical.) Be sure to null-terminate the filename. Like all unofficial patches, this one should be used with caution and should not be applied to your original disk. -- Rahul Dhesi UUCP: {seismo,ihnp4}!{pur-ee,iuvax}!bsu-cs!dhesi