CDU V0.94, (c) 1993,94 Ioannis Chatziandreou, Bochum FRG ------------------------------------------------------------------------ WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING !!! BACKUP YOUR FILE:AREA.BBS FILE BEFORE USING CDU. o What ist CDU ------------ - CDU = CD-rom Uploader (for tge DLG Professional BBS) - CDU is a utility that uploads entire CD-ROM directories into DLG file areas using as description file a standard FILES.BBS-style file. You can use CDU from a GUI or from CLI (for use in batch files for example) - CDU creates DLG File Areas, so you dont need to log in and insert via the sysop menu the file area. - CDU has a GUI. - It works only with >= OS2.0 because of softlinks and MUI. The utility creates for each file a softlink, so you don't need to make a lot of assigns or filepaths. - MUI support. You MUST install MUI to run in GUI mode. If you dont have the MUI package try to get the file MUI20USR.lha .This archive contains the full MUI package with docs, install scripts, etc.) - CDU is FREE-WARE, but if you like it feel free to send me a postcard from your city. It's nice to know that someone uses my utility. o Usage ----- copy CDU into a directory added in your path command. copy makelink into C: CDU also uses the dlg.library, i'm sure you have already install it, don't you ? :-) Let's start now : type CDU ? for help if you want to start CDU with a GUI you have only to start CDU without any parameter. To run CDU in GUI mode MUI must be installed before. o Usage in GUI mode ----------------- If you start CDU without any parameter, CDU will be started in the GUI mode, and a window will be opened. The menu options (if you press the right mouse button): About : Some infos Quit : Quit cdu You see : close iconify zoom & backdrop | \ | / +-|-+-------------------------+\--+-|-+--/+ | * | | * | * | * | |---+-------------------------+---+---+---| | | | cdu blah blah blah | | | +----------------Data---------------------+ | | | Sysop : ______________________ | <- enter here the uploader | | name | ------------------------|---- DLG File Area to upload | \/ ____________ | the files | File Area: _________ | GenArea | | | |____________| | <- click here if you want | | to generate a dlg-file | | area to upload the cdrom | | directory into. +-----------------------------------------+ | | Here enter the full path | | of the CD-ROM DIR where | | the files you want to | CDRDir : ______________________ O | <-upload are (must end with | | ":" or "/" . If you press | | the button on the right | | side a requester will be | | opened. | | | DFile : ______________________ O | <-Here enter the full path | | and filename of the de- | | scription file to scan | | (file.bbs file). If you | | press the button on the |_________________________________________| right side a requester | _| will be opened. +----/---------------|---------------\----* / | \ If you are ready Same as but, \ CANCEL all actions with entering the uploads the files datas, start up- as FREE loading The datas given as SysopName and DLGFILEAREA will be saved in a ENV file so you don't need to enter it every time you start CDU If you press the GenArea Button, you can create a new file-area directly from CDU. It works only if the file-area you entered in the last window dont exists. This funktion copy only one existing file-area with its attributes to a new one. You must first enter the file-area number to copy the attributes from, and the name of the new file-area, the CDU adds the new area in the area.bbs file and of course make the directory in FILE: and some needed files in the directory. You see : close iconify zoom & backdrop | \ | / +-|-+-------------------------+\--+-|-+--/+ | * | | * | * | * | |---+-------------------------+---+---+---| | | | | | Copy data from file-area: _____________ | | | | | | Area Name: _____________ | | | | | |_________________________________________| | | | < OK > < CANCE L> | | | +----/-------------------------------\----* / \ If you are ready \ CANCEL this action with entering the datas, generate new file-area o Usage in CLI mode ----------------- of course you can start it also with some parameters, if you want for example to use CDU in batch files to upload more than 1 cdrom directory. Usage : CDU -f -c -a -s -r - the file.bbs file to scan - the directory with the files to upload must end with '/' or ':' - DLG file area to upload the files - Name of the uploader - y=upload files with the up/download ratio bit set n=upload files as FREE Example : CDU -f CD0:ZIPPED/1/files.bbs -c CD0:ZIPPED/1/ -a 8 -s "ioannis" -r n CDU scan the CD0:ZIPPED/1/files.bbs file for descriptions, and upload/make links to files in the CD0:ZIPPED/1/ directory. The files will be uploaded in dlg filearea 8, and the uploader's name is "ioannis", the files will be marked as FREE To generate a batch file use a command like this: LIST TO CDU.batch DIRS ALL LFORMAT="cdu -f %P%N/files.bbs -c %P%N/ -a A_R_E_A -s Sysop_Name -r y" CD0: A file will be generated with the name cdu.batch, you must then replace the strings A_R_E_A with the file area you like to upload the DIR, and the Sysop_Name with your name (underscored). Also the name of the CD-ROM device, here CD0: o How it works ------------ Hmmm, don't know, but it works :-) o Contacting the author --------------------- If you have some questions, comments, new ideas, suggestions or even flames, or if you want to send me a postcard, please feel free to contact me at the following addresses. Snailmail: Ioannis Chatziandreou Am Pappelbusch 35 44803 Bochum GERMANY Tel.Nr.: +49-234-9360011 FAX: +49-234-361467 Fido: Ioannis Chatziandreou at 2:243/4802 (DHST) Ioannis Chatziandreou at 2:243/4803 (ZyX) Ioannis Chatziandreou at 2:243/4810 (ISDN) UUCP: greeky@ouzonix.bo.open.de o History ------- V0.9 First Release. V0.90 Rewritten in C. V0.91 (internal version) I make a GUI for CDU. V0.92 - I use now my own routines for uploading files to DLG (no more quickadd and skyfreshen needed) - using of dlg.library added - using of muimaster.library added for making the GUI - fils.bbs scan routine rewritten V0.93 - file.bbs scan routines rewritten - better memory handling V0.94 - New feature : Now you can generate DLG File Areas from CDU. o Future ------ Don't no, if you are missing some things, write to me. o Disclaimer ---------- THERE IS NO WARRANTY FOR THE PROGRAM. THE ENTIRE RISK AS TO THE QUALITY OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.