cross-platform library for file system operations (was: dos.e)
- Posted by jluethje at gmx.de May 19, 2002
- 413 views
------------3D18B29220ACDEB Hello Derek, you wrote: > Good work, J. Thank you. > Maybe not many people use DOS anymore Well, this could be the reason, why this bugs weren't found before. Unfortunately, Euphoria doesn't have built in support for some "everyday" file system operations, such as del_file(), del_dir(), move_file(), move_dir(). IMO "dos.e" isn't the solution, but some of it's routines could be part of the solution. What I would greatly appreciate -- for Euphoria as a cross-platform language -- is a cross-platform library for those operations. It could be a good supplement to Euphoria's "file.e". I think "dos.e" is a good starting point as far as DOS is concerned. For Windows, it should not be too complicated to write some small wrappers. About Linux and FreeBSD I don't know anything ... I would like to contribute to such a project as much as I can. I have programming experience, mainly with PowerBasic, for about 10 years, but only as an amateur. To begin, I just wrote "file2.e", which I attach here for those who are interested. (At the moment it contains only del_file() and del_dir() for DOS32 and WIN32.) Best regards, Juergen ------------3D18B29220ACDEB Content-Type: application/octet-stream; name="file2.e"