home *** CD-ROM | disk | FTP | other *** search
-
-
-
- Prog Add 1.0
-
- By Diarmuid Albers (C)1996
-
-
- Introduction
-
- With this utility you can create a database of programs and add programs to it
- as you go along.
- Such a database is actually shiped with Warp and is located in \os2\install as
- database.txt -> the text version and database.dat -> the binary version.
- These got bigger after every new release of OS/2, but you wouldn't find any
- not as well known utillitys or programs in there, so at least I always had
- to create all the other program objects again, after a new release of OS/2 or
- after some experimenting! But now you only have to enter the title of the
- program object only once or not even that, despite any new
- installations of this wonderful OS ...
-
-
-
-
- Requirements
-
- Any OS/2 Version with the WPS.
-
-
- Licence
-
- AddProg is copyrighted to the author. It may not be modified in any way or form.
- It can be freely distributed providing no charge is made beyond those to
- cover media expenses and the like.
-
- AddProg is provided "as is" and any damage, actual or perceived,
- caused by the program is not the liability of the author. By using the
- program you accept these conditions.
-
-
-
-
- Syntax :
-
- ProgAdd [-q] [[-s] [-v]] [-aDIR] [-dPRGDB] [-nNONODB]
- │ │ │ │ │ │ [] means optional!
- │ │ │ │ │ └Name of noobject database
- │ │ │ │ └───────────Name of program database
- │ │ │ └───────────────────Start directory
- │ │ └─────────────────────────with firstlevel directory names
- │ └──────────────────────────────with subdirs
- └────────────────────────────────────quick, without user interaction
-
-
- AddProg is a commandline utillity. All options are begin with an "-" and
- are followed by keywords. These are:
-
- [-q] , if this switch is used, the program will not ask the user to input
- an object title. Instead it will take the program name and cut off
- the ".exe" bit.
-
- [-s] , if this switch is used, the program will also walk through any
- subdirectorys of the current or startdirectory.
-
- [-v] , this switch can only be used in combination with the "-s" switch.
- If its used, the folder names will reflect the names of the first
- level subdirs.
-
- MyStuff
- │
- └─fileutils -> folder name
- │ └fc
- │ └fm2
- │ └dirmaster
- └─sysutils -> folder name
- │ └WarpnGo
- │ └Memsize
- │ └SysBench
- └─graphics -> folder name
- │ └PM View
- │ └Jview
- │ └lart
- └─proging -> folder name
- └bcos2
- └emx
- └javaos2
-
- [-a], specifies the directory in which Addprog should start to search!
-
- [-d], specifies the name of the program database. Default is progs.txt
-
- [-n], specifies the name of the noobject list. Default is noobject.txt
-
-
-
- Examples
-
- This section is just intended to visualise the above into something a
- little more tangible. Some examples of syntax are shown below:
-
-
-
-
- Add programs in the current directory to the default database with no
- user interaction:
-
- AddProg -q
-
- The same but now include subdirectorys
-
- AddProg -q -s
-
- Use the specified noobject file
-
- AddProg -q -s -nNOJECT.DAT
-
- Use the specified database
-
- AddProg -q -s -dMyPrgbase.dat
-
- Use the firstlevel directorys as folder names
-
- AddProg -q -s -v
-
- Start at specified directory
-
- AddProg -q -s -a\myapps
-
-
- What now?
-
- pcom.cmd [-dProgDat.txt] [-ePrgDat.dat]
-
- First we must compile the database into a .dat file. Use the pcom.cmd
- file for this. The only optional parameters are the -d which specifies the
- program database. The default value for -d is Progs.txt. And -e which
- specifies the name of the output binary database. Its default is Progs.dat
-
- Now after that:
- To actually get the objects created, you must use the "Add Programs" Tool
- (migrate.exe) which is located in the system setup folder (or \os2\install).
- Now the option "Search for and select programs to add" must be selected. After
- hitting the OK button a dialog appears in which we select for what program types
- objects should be createt and the drives on which the programs are located.
- Enter the path to the database we created before and click OK. Now the titles
- of the found programs are displayed and you can select for which objects shall
- be created. OK again, and we're finished!
-
-
-
-
- Versions
-
- 1.0 09/13/96
-
- First public release.
-
-
- Remarks
-
- This program was actually created for my personal use. But I thought it could
- be useful for other Warpers around. Thats why its freeware!
-
-
- Contacts
-
- Any suggestions, comments or found bugs about ProgAdd are very welcome. I'm
- available at the following addresses:
-
- internet : buster@www.penzberg.de
-
- snailmail: Diarmuid Albers
- Birkenstr.131
- 82377 Penzberg
- Germany
-
- I like postcards with pictures of YOUR location in this weird
- world !
-
- Diarmuid Albers
-
-
-
-