Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!fauern!lan!rommel From: rommel@lan.informatik.tu-muenchen.dbp.de (Kai-Uwe Rommel) Newsgroups: comp.os.os2.programmer Subject: Re: Dectection of HPFS File system? Message-ID: <5671@tuminfo1.lan.informatik.tu-muenchen.dbp.de> Date: 23 Nov 90 10:48:28 GMT References: <15510005@hpspcoi.HP.COM> <11686@hubcap.clemson.edu> <4112@media-lab.MEDIA.MIT.EDU> <4114@media-lab.MEDIA.MIT.EDU> Sender: news@lan.informatik.tu-muenchen.dbp.de Reply-To: rommel@lan.informatik.tu-muenchen.dbp.de (Kai-Uwe Rommel) Organization: Inst. fuer Informatik, TU Muenchen, W. Germany Lines: 18 In article <4114@media-lab.MEDIA.MIT.EDU> lenox@media-lab.MEDIA.MIT.EDU (Lenox H. Brassell) writes: > DosFindClose (hdir); ... some code deleted ... > return usCode == ERROR_FILENAME_EXCED_RANGE; > } Just for completeness, check also for ERROR_INVALID_NAME. This is not documented as a possible return code but it happens if the test-name fits into 8.3 but has ivalid characters in it or, for example, starts with a dot. Kai Uwe Rommel -- /* Kai Uwe Rommel * Munich * rommel@lan.informatik.tu-muenchen.dbp.de */