In order to work with documents WindowsEnabler uses Windows API's. WindowsEnabler itself has no knowledge about the documents that you want to work with. It just calls a Windows API to perform the requested operation. The API performs these operations based on information in the Windows registry. The information contained in the Windows registry might not be the same on all machines. This depends, amongst others, on the applications that are installed on the machine. This means that a WindowsEnabler request can have different results when executed on different machines.
If a specific WindowsEnabler request does not have the desired result, you can replay most document requests by hand to determine the problem. See the description of the internal commands (section Internal Commands) for more information.
The default action for a document is the same action as the double-click action. The command STRWINPGM CMD(*edit c:\test\xyz.doc) will open the document xyz.doc in Microsoft Word on most machines.