; This .CDU file could be invoked from a batch file thus: ; @CDU DEFINE FLOPFILE "%1" @FLOPSPIT ; where the supplied parameter is the name of the source file. CDU will take ; the contents of the source file and plonk it onto the diskette. sound on_error ; Throw a wobbler in case of errors. confirm on ; Make sure the user gets a chance to abort. fwrite on ; Have to do this or CDU won't write to floppy disks. copy file %flopfile% to disk fd0 ; Having created the diskette, it's a good idea to check that it's *readable*... sound on ; Generate a sound no matter what happens. confirm off ; Don't need to confirm none-destructive operations. write off ; For safety's sake, disable writing to disks. compare file %flopfile% with disk fd0