From: "Florian X" Newsgroups: comp.os.msdos.djgpp Subject: funktion access(...) Date: Sun, 27 Aug 2000 20:18:59 +0200 X-Newsreader: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Lines: 33 Message-ID: <39a95be6$0$16268@SSP1NO25.highway.telekom.at> NNTP-Posting-Host: 212.183.94.52 X-Trace: newsreader01.vienna.highway.telekom.at 967400422 16268 212.183.94.52 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi! I am developing an SEAL program, and it uses for the file list this funktion: l_bool io_isfile ( l_text file ) { if ( access(file, D_OK) && !access(file, F_OK) ) return true; return false; }; But if I want to use this file f.e. f:\MP3\OSTB~1.MP3 (also with long file names !!!) io_isfile returns the wrong message (false). The file has only the ARCHIVE attribut. Does somebody know why? Thank you, Florian ----------------------------------------------------------- Seal - free desktop enviroment for DOS http://www.seal.de.vu FreeDOS (English) http://www.freedos.org (German) http://www.freedos.de.vu Dr-DOS unofficial homepage http://www.drdos.org Download Dr-DOS here: http://download.drdos.org