Hi Charles, Jim, > It's work, sigh, but you can write a routine to read the path in and > parse into the individual directories then search. Not sure you could > call the shell's dir function to take advantage *.XYZ though. Writing > the whole thing would suck but somebody did so for win32. Somebody > must have done the *.XYZ or *.* bit for FreeDos??? > > Go for it. Wirte the bits for FreeDos FreeDos would be one function > better than the last MSDOS
Not necessary. People rarely call DOS kernel functions directly anyway. So if you program for example in C, you can use a C compiler which has wildcard processing (globbing) in the C library. For example DJGPP, the DOS version of GNU C and GNU C++ :-) www.informatik.uni-hamburg.de/RZ/software/gnu/libraries/libc_16.html https://en.wikipedia.org/wiki/Glob_%28programming%29 If you really have to use "weird" compilers where globbing is not already part of some basic library, you can always copy and paste some code from any tool which does support globbing, such as bash. Cheers, Eric >>> is there an int21h function or something provided by freedos for >>> doing a filepath and wildcard filespec match? >>> I know win32 has such a function. the win32 function is at >>> http://msdn.microsoft.com/en-us/library/windows/desktop/bb773727%28v=vs.85%29.aspx >> there is no such function in DOS >> >>> and the filesystem algorithm spec is at >>> http://msdn.microsoft.com/en-us/library/ff469270.aspx ------------------------------------------------------------------------------ HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing & Easy Data Exploration http://p.sf.net/sfu/hpccsystems _______________________________________________ Freedos-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-devel
