Not sure about that.  May be others could help.

BTW, if you're using UNIX, why is there a drive letter in your directory? 

Shyan


> -----Original Message-----
> From: aavvee [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 01, 2004 12:18 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [c-prog] How to compare file name with C?
>
>
> I work on UNIX, and use cc or gcc command.
> Is there similar function in C library?
> Thanks
>
> --- Shyan Lam <[EMAIL PROTECTED]> wrote:
>
> > What's the OS and compiler?
> >
> > For VC++, you can use _findfirst() / _findnext() / _findclose().
> >
> > For Windows in general, you can use the FindFirstFile() / FindNextFile()
> /
> > FindClose() APIs.
> >
> > HTH
> >
> > Shyan
> >
> >
> > > -----Original Message-----
> > > From: aavvee [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, December 01, 2004 10:55 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: [c-prog] How to compare file name with C?
> > >
> > >
> > > hi, Shyan:
> > >
> > > Thanks for your info.
> > > I already created file MyFile.txt in directory D:\Working\
> > > And I got the file name "MyFile.txt" from command line with gets()
> > > How to search directory D:\Working\ and find if there is a file named
> > > "MyFile.txt"?
> > >
> > > Thanks,




To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>.


Yahoo! Groups Sponsor
ADVERTISEMENT
click here
Web Bug from http://us.adserver.yahoo.com/l?M=298184.5639630.6699735.3001176/D=groups/S=:HM/A=2434971/rand=279993910


Yahoo! Groups Links

Reply via email to