I or any other contributors allow you to use and modify freely under the condition that I or other contributors are in no way responsible for any damage or loss you may suffer.
15/09/03 | V1.3 | map datapath (gjarvis@ieee.org) |
19/05/03 | V1.2 | for shadows missing OBJECTID (gjarvis@ieee.org) |
23/03/03 | V1.1 | (ALL command line option (WPDATA command line option OBJ verb (gjarvis@ieee.org) |
17/06/02 | V1.0 | Initial version (gjarvis@ieee.org) |
GETWPS is a REXX program to generate selected objects on desktop and startup folders. The selected objects include all descendents. The desktop object is also saved. A list of desktop and startup objects is automatically generated in file 'getwps.lst' and controls selection.
Most objects of vanilla install are quite Operating System dependent. WPS objects are handle separately by GETWPS.
WPTOOLS.DLL is required and in your LIBPATH. Note eCS 1.0 has a few different versions which some older ones can create bad data. The output displays version info. The last one with file date Jan 27, 2000 displays version "2.12".
Use repeatedly in a command window and edit 'getwps.lst' until desired result achieved. Usually only a few iterations are needed.
>getwps >epm getwps.*
The following statistics are displayed:
GETWPS [(Options] | |
Options | [ALL] [WPDATA] |
---|---|
ALL | all objects are created in file 'getwps.all' with same format as 'getwps.din' |
WPDATA | exclude rarely used class 'WPDataFile' which can create bad data |
An ASCII file, 'getwps.lst' lists all objects on the desktop and in the startup folder. Each line tells whether object is selected or excluded.
* | blank lines and lines starting with an asterik are ignored |
EXC | exclude object and all its descendents |
Parameter | EXC "class" "title" "loc" |
---|---|
class | class |
title | title |
loc | location |
INC | include object and all its descendents |
Parameter | INC "class" "title" "loc" |
class | class |
title | title |
loc | location |
OBJ | |
Parameter | OBJ "id" |
id | object id |
If there is neither 'INC' nor 'EXC' for a object then an 'EXC' line is appended to bottom of file. Just run the program and it will generate the 'EXC'. Edit the file by changing 'EXC' to 'INC' for objects you want. Then run the program again.
An ASCII file, 'getwps.din', is generated with following format.
first line | information on who, what and when generated data |
---|---|
rest of lines | "class" "title" "loc" "setup" |
class | class |
title | title |
loc | location |
setup | setup string |
All locations and setups have bootpath replaced by 'C:\'.