On Saturday, March 24, 2007 4:37 PM [GMT+1], Garry Lancaster <garrylancaster@xxxxxxxxx> wrote:
Another version for you to try. This has the following changes: * Full directory and path support * %CD command now allows changing directory * New %MD (and %MKDIR) command to make a directory * New %RD (and %RMDIR) command to remove a directory (must be empty) * New %PWD command to print the working directory * %DIR command now looks a bit nicer * Fixed a bug which hung the Speccy if trying to do a %DIR of a directory with more than 63 files * General bugfixes and tidying up * Added support for LOADing files without a +3DOS header (ie any files which weren't SAVEd by the Speccy) as CODE files (or SCREEN$). The path and directory support took quite a while to get right, but I'm fairly happy with it now. You can use "/" or "\" as the directory separator, and do just about anything you would expect, eg: %cd "snaps/sinclair" %cd "C:\" %cd ".." LOAD %"basic/test.bas" %md "newdir" %rd "/stuff/olddir" %cp "*.*","c:/backup/" Note that when copying, you must use a "\", "/" or ":" at the end, otherwise it is assumed you are trying to copy to a file, not a directory. You can use either "./" or just "" to indicate the current directory. eg: %cp "a:*.z80","" I'm now going to add support for permanent and automatic drive mappings. After that, it'll just be bugfixes and tidyups, then a public release (hopefully before April 1st!). Oh yes, I was thinking about removing all the "old" syntax commands, such as: LOAD %"sebasic.rom" FORMAT instead of %rom "sebasic.rom"
Questo e` uno snapshot del badaloc dopo un %dir: http://www.zxbada.bbk.org/image.gif
Ciao!