home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / os2 / misc / 40565 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  927 b 

  1. Xref: sparky comp.os.os2.misc:40565 comp.os.msdos.4dos:35
  2. Path: sparky!uunet!pipex!bnr.co.uk!uknet!axion!rtf.bt.co.uk!traub
  3. From: traub@rtf.bt.co.uk (Michael Traub)
  4. Newsgroups: comp.os.os2.misc,comp.os.msdos.4dos
  5. Subject: OS/2 bug, "IF EXIST" doesn't find drivers
  6. Message-ID: <1992Dec29.144855.8648@rtf.bt.co.uk>
  7. Date: 29 Dec 92 14:48:55 GMT
  8. Organization: BT Customer Systems, Brighton, UK
  9. Lines: 17
  10.  
  11. Under messy-dos I used to put the following in my batch files:
  12.  
  13.     IF EXIST IFCUST0 goto pctcp_loaded
  14.  
  15. But under OS/2 the above line fails even though the driver is loaded!
  16.  
  17. If I write a small C program to check for the existence of the file
  18. then it returns that the file was found (i.e. the driver is loaded)
  19. but from the command prompt it doesn't work. 
  20.  
  21. This error was found using 4DOS, but I guess it also fails under OS/2's
  22. command.com.
  23.  
  24.  
  25. -- 
  26. Michael Traub
  27. BT Customer Systems, Brighton Systems Centre. traub@btcs.bt.co.uk
  28.