WPTools: Difference between revisions

From OS2World.Com Wiki
Jump to navigation Jump to search
No edit summary
Jugbogdan (talk | contribs)
 
(6 intermediate revisions by 2 users not shown)
Line 2: Line 2:
|Picture=NA.png
|Picture=NA.png
|Version=3.3
|Version=3.3
|Vendor=
|Author=[[Henk Kelder]]
|Author=[[Henk Kelder]]
|License=Freeware
|License=Freeware
|Download=[https://github.com/OS2World/UTIL-WPS-WPTools/releases/download/3.3/WPTools_3-3.zip WPTools_3-3.zip]
|Download=[https://github.com/OS2World/UTIL-WPS-WPTools/releases/download/3.3/WPTools_3-3.zip WPTools_3-3.zip]
|Website=[https://web.archive.org/web/20010620031130/http://www.os2ss.com:80/information/kelder/ Archived Website]
|Website=[https://web.archive.org/web/20010620031130/http://www.os2ss.com:80/information/kelder/ Archived]
}}
}}
WPTOOLS is a collection of OS/2 specific tools. Some tools in the archive are:
WPTOOLS is a collection of OS/2 specific tools. Some tools in the archive are:
Line 13: Line 12:
* WPSREST - Restores a backup made with WPSBKP;
* WPSREST - Restores a backup made with WPSBKP;
* RESETWPS - Resets the workplace shell without rebooting
* RESETWPS - Resets the workplace shell without rebooting
* [[WPTool.DLL]] - A dynamic link library that, amongst other things, can be used from REXX to query object settings. This DLL is also used by WPSBKP to query object settings. As far as I know this is the only tool in the world to query setup strings.
* WPTool.DLL - A dynamic link library that, amongst other things, can be used from REXX to query object settings. This DLL is also used by WPSBKP to query object settings. As far as I know this is the only tool in the world to query setup strings.
* DEFASSOC.EXE- Manipulate Associations from the command line
* DEFASSOC.EXE- Manipulate Associations from the command line
* GETOBJ.EXE- Query object settings from the command line
* GETOBJ.EXE- Query object settings from the command line
WPTOOLS.DLL is a Dynamic Link Library that contains code to query the settings for workplace shell objects. This DLL is used by WPSBKP.EXE but can also be used from REXX procedures.
For usage from REXX the following functions can be used:
* WPToolsQueryObject - A function to query the object class, the title, the setup string and the location for any WPS object. Only for standard object classes, setup strings are returned.
* WPToolsFolderContent - Returns the (alphanumeric) OBJECTID's or (numeric) object handles for all abstract objects present in a given folder. Optionally it can also return all filesystem objects.
* WPToolsSetObjectData - Works more or less the same as SysSetObjectData, but can also be used with object handles returned by WPToolsFolderContent


==History==
==History==
;WPTOOL31:
;WPTOOL31:
:*Added tests to fix some specific problems with filesystem objecthandles as stored in OS2SYS.INI. To be specific:
:*Added tests to fix some specific problems with filesystem object handles as stored in OS2SYS.INI. To be specific:
:*An error where all files and directories on a drive seem to have their drive letter replaced by something else, making the drive unusable from the workplace shell;
:*An error where all files and directories on a drive seem to have their drive letter replaced by something else, making the drive unusable from the workplace shell;
:*An error where the workplace shell internally keeps two versions of its handle-to-pathname translate table for one drive. This leads to different type of errors, but most likely an situation where certain objects do not function as they should.
:*An error where the workplace shell internally keeps two versions of its handle-to-pathname translate table for one drive. This leads to different type of errors, but most likely a situation where certain objects do not function as they should.


;WPTOOL32:
;WPTOOL32:
Line 30: Line 36:
==Links==
==Links==
* [https://github.com/OS2World/UTIL-WPS-WPTools Source Code Git]
* [https://github.com/OS2World/UTIL-WPS-WPTools Source Code Git]
* [https://web.archive.org/web/20010419100520/http://www.os2ss.com/information/kelder/wptools.htm More Information]


[[Category:Utilities]]
[[Category:Configuration Utilities]]

Latest revision as of 03:10, 19 February 2025

WPTools
Version 3.3
Vendor
Author Henk Kelder
License Freeware
Download WPTools_3-3.zip
Website Archived

WPTOOLS is a collection of OS/2 specific tools. Some tools in the archive are:

  • CHECKINI - Checks Workplace shell related stuff in the OS2.INI and OS2SYS.INI, mainly intended to keep the INI-Files clean and (relatively small) and thus have the best performance while using the workplace Shell;
  • WPSBKP - Make a backup of most workplace shell objects in a text file. This text file can be used to restore a customised workplace shell after the desktop has be reinstalled or to port parts to another machine;
  • WPSREST - Restores a backup made with WPSBKP;
  • RESETWPS - Resets the workplace shell without rebooting
  • WPTool.DLL - A dynamic link library that, amongst other things, can be used from REXX to query object settings. This DLL is also used by WPSBKP to query object settings. As far as I know this is the only tool in the world to query setup strings.
  • DEFASSOC.EXE- Manipulate Associations from the command line
  • GETOBJ.EXE- Query object settings from the command line

WPTOOLS.DLL is a Dynamic Link Library that contains code to query the settings for workplace shell objects. This DLL is used by WPSBKP.EXE but can also be used from REXX procedures.

For usage from REXX the following functions can be used:

  • WPToolsQueryObject - A function to query the object class, the title, the setup string and the location for any WPS object. Only for standard object classes, setup strings are returned.
  • WPToolsFolderContent - Returns the (alphanumeric) OBJECTID's or (numeric) object handles for all abstract objects present in a given folder. Optionally it can also return all filesystem objects.
  • WPToolsSetObjectData - Works more or less the same as SysSetObjectData, but can also be used with object handles returned by WPToolsFolderContent

History

WPTOOL31
  • Added tests to fix some specific problems with filesystem object handles as stored in OS2SYS.INI. To be specific:
  • An error where all files and directories on a drive seem to have their drive letter replaced by something else, making the drive unusable from the workplace shell;
  • An error where the workplace shell internally keeps two versions of its handle-to-pathname translate table for one drive. This leads to different type of errors, but most likely a situation where certain objects do not function as they should.
WPTOOL32
  • Various minor updates.

WPTOOLS.DLL is compiled using VAC 3.0. If you use WPTOOLxx, Association Editor or IconTool you must make sure you have the latest versions since the new WPTOOLS.DLL is not compatible with the old one.

Links