home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.os.os2.misc:40565 comp.os.msdos.4dos:35
- Path: sparky!uunet!pipex!bnr.co.uk!uknet!axion!rtf.bt.co.uk!traub
- From: traub@rtf.bt.co.uk (Michael Traub)
- Newsgroups: comp.os.os2.misc,comp.os.msdos.4dos
- Subject: OS/2 bug, "IF EXIST" doesn't find drivers
- Message-ID: <1992Dec29.144855.8648@rtf.bt.co.uk>
- Date: 29 Dec 92 14:48:55 GMT
- Organization: BT Customer Systems, Brighton, UK
- Lines: 17
-
- Under messy-dos I used to put the following in my batch files:
-
- IF EXIST IFCUST0 goto pctcp_loaded
-
- But under OS/2 the above line fails even though the driver is loaded!
-
- If I write a small C program to check for the existence of the file
- then it returns that the file was found (i.e. the driver is loaded)
- but from the command prompt it doesn't work.
-
- This error was found using 4DOS, but I guess it also fails under OS/2's
- command.com.
-
-
- --
- Michael Traub
- BT Customer Systems, Brighton Systems Centre. traub@btcs.bt.co.uk
-