Family members

GETWPS V1.3


DISCLAIMER

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.

WHAT'S NEW

HISTORY

History
15/09/03V1.3map datapath (gjarvis@ieee.org)
19/05/03V1.2for shadows missing OBJECTID (gjarvis@ieee.org)
23/03/03V1.1(ALL command line option
(WPDATA command line option
OBJ verb (gjarvis@ieee.org)
17/06/02V1.0Initial version (gjarvis@ieee.org)

DOCUMENTATION

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:

read
number of lines read 'getwps.lst'
new
number of desktop and startup objects in your system but not in 'getwps.lst' and will be automatically added
created
number of created objects in 'getwps.din'

Command Line Syntax

Command Line Syntax
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

getwps.lst

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.

getwps.lst
* 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.

getwps.din

An ASCII file, 'getwps.din', is generated with following format.

getwps.din
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:\'.

Examples: