Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!ihlpe!psfales From: psfales@ihlpe.UUCP Newsgroups: comp.sys.ibm.pc Subject: Re: program always uses drive A: Message-ID: <2103@ihlpe.ATT.COM> Date: Wed, 30-Sep-87 11:19:42 EDT Article-I.D.: ihlpe.2103 Posted: Wed Sep 30 11:19:42 1987 Date-Received: Fri, 2-Oct-87 03:13:20 EDT References: <10495@beta.UUCP> <2093@ihlpe.ATT.COM> <1188@bsu-cs.UUCP> Organization: AT&T Bell Laboratories - Naperville, Illinois Lines: 30 In article <1188@bsu-cs.UUCP>, jtn3@bsu-cs.UUCP (Jim Nelson) writes: > In article <2093@ihlpe.ATT.COM>, psfales@ihlpe.ATT.COM (Pete Fales) writes: > > In article <10495@beta.UUCP>, dd@beta.UUCP (Dan Davison) writes: > > > A problem: program always reads from drive A: > > > > > > I have an application program, available only as a .EXE file, which > ^^^this will cause > a major problem when using DEBUG since DEBUG uses the header block in .EXE > files to figure out where to put the file in memory. When I wrote this, I was assuming that anyone willing to use DEBUG to tackle a project like this would know how to use debug on an EXE file. (i.e. Change the name to something not ending in .EXE) > > I would go in with DEBUG and look for any occurrences of the string "A:" > ^^^*all* of them?!?!?!?! > It may even > be using B: on a single floppy system since B: and A: are the same physical > drive on a single floppy system. Yes, all of them. You might get lucky. As I mentioned in my original posting, this method comes with no guarantees. I also said that if searching for strings doesn't work, the alternative is the much bigger job of tracing the program execution. -- Peter Fales UUCP: ...ihnp4!ihlpe!psfales work: (312) 979-7784 AT&T Information Systems, IW 1Z-243 1100 E. Warrenville Rd., IL 60566