As the failures have to do with testing the names of the special folders, here
is a list of the file
names.
Running "samples\ole\samp02.rex" lists the special folders with the following
names on my 64-bit
(German) Windows system:
C:\Program Files (x86)\ooRexx\samples\ole\apps>samp02 Operating system:
Windows_NT You have 4
processor(s) of AMD64 architecture in your system. The following
directories represent special
folders on your system: C:\Users\Public\Desktop
C:\ProgramData\Microsoft\Windows\Start Menu
C:\ProgramData\Microsoft\Windows\Start Menu\Programs
C:\ProgramData\Microsoft\Windows\Start
Menu\Programs\Startup C:\Users\Administrator\Desktop
C:\Users\Administrator\AppData\Roaming
C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Printer Shortcuts
C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Templates
C:\Windows\Fonts
C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Network Shortcuts
C:\Users\Administrator\Desktop
C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start
Menu C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\SendTo
C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Recent
C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start
Menu\Programs\Startup
C:\Users\Administrator\Favorites C:\Users\Administrator\Documents
C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start
Menu\Programs Creating a shortcut
for NOTEPAD.EXE on your Desktop...
However, when using some of the messages in the spcialfolder testgroup in a
little debug program (at
the end), the following output occurs:
ooRexx version : REXX-ooRexx_5.0.0(MT)_32-bit 6.05 7 Aug 2016 Windows
version: WindowsNT 6.01
xrange~length: [64] xrange[30]=[] --- folderNumber: hex=[0] decimal=[0]
objFolder : [an
OLEObject] [an OLEObject] objFolder~items: [an OLEObject]
objFolder~items~count: [38]
objFolderItem : [an OLEObject] objFolderItem~name: [Desktop]
objFolderItem~path:
[C:\Users\Administrator\Desktop] objFolderItem~type: [] --- folderNumber:
hex=[1] decimal=[1]
objFolder : [an OLEObject] [an OLEObject] objFolder~items: [an OLEObject]
objFolder~items~count:
[0] objFolderItem : [an OLEObject] objFolderItem~name: [Internet]
objFolderItem~path:
[::{871C5380-42A0-1069-A2EA-08002B30309D}] objFolderItem~type:
[Systemordner] --- folderNumber:
hex=[2] decimal=[2] objFolder : [an OLEObject] [an OLEObject]
objFolder~items: [an OLEObject]
objFolder~items~count: [7] objFolderItem : [an OLEObject]
objFolderItem~name: [Programme]
objFolderItem~path:
[C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start
Menu\Programs] objFolderItem~type: [Dateiordner] --- folderNumber: hex=[3]
decimal=[3] objFolder
: [an OLEObject] [an OLEObject] objFolder~items: [an OLEObject]
objFolder~items~count: [4]
objFolderItem : [an OLEObject] objFolderItem~name: [Alle
Systemsteuerungselemente]
objFolderItem~path: [::{26EE0668-A00A-44D7-9371-BEB064C98683}\0]
objFolderItem~type: [] ---
folderNumber: hex=[4] decimal=[4] objFolder : [an OLEObject] [an OLEObject]
objFolder~items: [an
OLEObject] objFolder~items~count: [12] objFolderItem : [an OLEObject]
objFolderItem~name:
[Drucker] objFolderItem~path:
[::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{2227A280-3AEA-1069-A2DE-08002B30309D}]
objFolderItem~type: [Systemordner] --- folderNumber: hex=[5] decimal=[5]
objFolder : [an
OLEObject] [an OLEObject] objFolder~items: [an OLEObject]
objFolder~items~count: [8]
objFolderItem : [an OLEObject] objFolderItem~name: [Eigene Dokumente]
objFolderItem~path:
[C:\Users\Administrator\Documents] objFolderItem~type: [Dateiordner] ---
folderNumber: hex=[6]
decimal=[6] objFolder : [an OLEObject] [an OLEObject] objFolder~items: [an
OLEObject]
objFolder~items~count: [5] objFolderItem : [an OLEObject]
objFolderItem~name: [Favoriten]
objFolderItem~path: [C:\Users\Administrator\Favorites] objFolderItem~type:
[Dateiordner] ---
folderNumber: hex=[7] decimal=[7] objFolder : [an OLEObject] [an OLEObject]
objFolder~items: [an
OLEObject] objFolder~items~count: [0] objFolderItem : [an OLEObject]
objFolderItem~name:
[Autostart] objFolderItem~path:
[C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start
Menu\Programs\Startup] objFolderItem~type: [Dateiordner] --- folderNumber:
hex=[8] decimal=[8]
objFolder : [an OLEObject] [an OLEObject] objFolder~items: [an OLEObject]
objFolder~items~count:
[142] objFolderItem : [an OLEObject] objFolderItem~name: [Zuletzt
verwendet] objFolderItem~path:
[C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Recent]
objFolderItem~type:
[Dateiordner] --- folderNumber: hex=[9] decimal=[9] objFolder : [an
OLEObject] [an OLEObject]
objFolder~items: [an OLEObject] objFolder~items~count: [13] objFolderItem :
[an OLEObject]
objFolderItem~name: [SendTo] objFolderItem~path:
[C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\SendTo]
objFolderItem~type:
[Dateiordner] --- folderNumber: hex=[A] decimal=[10] objFolder : [an
OLEObject] [an OLEObject]
objFolder~items: [an OLEObject] objFolder~items~count: [2] objFolderItem :
[an OLEObject]
objFolderItem~name: [Papierkorb] objFolderItem~path:
[::{645FF040-5081-101B-9F08-00AA002F954E}]
objFolderItem~type: [Systemordner] --- folderNumber: hex=[B] decimal=[11]
objFolder : [an
OLEObject] [an OLEObject] objFolder~items: [an OLEObject]
objFolder~items~count: [1]
objFolderItem : [an OLEObject] objFolderItem~name: [Startmenü]
objFolderItem~path:
[C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu]
objFolderItem~type:
[Dateiordner] --- folderNumber: hex=[C] decimal=[12] special folder does
not exist ---
folderNumber: hex=[D] decimal=[13] objFolder : [an OLEObject] [an
OLEObject] objFolder~items:
[an OLEObject] objFolder~items~count: [1] objFolderItem : [an OLEObject]
objFolderItem~name:
[Eigene Musik] objFolderItem~path: [C:\Users\Administrator\Music]
objFolderItem~type:
[Dateiordner] --- folderNumber: hex=[E] decimal=[14] objFolder : [an
OLEObject] [an OLEObject]
objFolder~items: [an OLEObject] objFolder~items~count: [0] objFolderItem :
[an OLEObject]
objFolderItem~name: [Eigene Videos] objFolderItem~path:
[C:\Users\Administrator\Videos]
objFolderItem~type: [Dateiordner] --- folderNumber: hex=[F] decimal=[15]
special folder does not
exist --- folderNumber: hex=[10] decimal=[16] objFolder : [an OLEObject]
[an OLEObject]
objFolder~items: [an OLEObject] objFolder~items~count: [21] objFolderItem :
[an OLEObject]
objFolderItem~name: [Desktop] objFolderItem~path:
[C:\Users\Administrator\Desktop]
objFolderItem~type: [Dateiordner] --- folderNumber: hex=[11] decimal=[17]
objFolder : [an
OLEObject] [an OLEObject] objFolder~items: [an OLEObject]
objFolder~items~count: [7]
objFolderItem : [an OLEObject] objFolderItem~name: [Computer]
objFolderItem~path:
[::{20D04FE0-3AEA-1069-A2D8-08002B30309D}] objFolderItem~type:
[Systemordner] --- folderNumber:
hex=[12] decimal=[18] objFolder : [an OLEObject] [an OLEObject]
objFolder~items: [an OLEObject]
objFolder~items~count: [16] objFolderItem : [an OLEObject]
objFolderItem~name: [Netzwerk]
objFolderItem~path: [::{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}]
objFolderItem~type:
[Systemordner] --- folderNumber: hex=[13] decimal=[19] objFolder : [an
OLEObject] [an OLEObject]
objFolder~items: [an OLEObject] objFolder~items~count: [0] objFolderItem :
[an OLEObject]
objFolderItem~name: [Network Shortcuts] objFolderItem~path:
[C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Network
Shortcuts] objFolderItem~type:
[Dateiordner] --- folderNumber: hex=[14] decimal=[20] objFolder : [an
OLEObject] [an OLEObject]
objFolder~items: [an OLEObject] objFolder~items~count: [254] objFolderItem
: [an OLEObject]
objFolderItem~name: [Fonts] objFolderItem~path: [C:\Windows\Fonts]
objFolderItem~type:
[Dateiordner] --- folderNumber: hex=[15] decimal=[21] objFolder : [an
OLEObject] [an OLEObject]
objFolder~items: [an OLEObject] objFolder~items~count: [0] objFolderItem :
[an OLEObject]
objFolderItem~name: [Templates] objFolderItem~path:
[C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Templates]
objFolderItem~type:
[Dateiordner] --- folderNumber: hex=[16] decimal=[22] objFolder : [an
OLEObject] [an OLEObject]
objFolder~items: [an OLEObject] objFolder~items~count: [4] objFolderItem :
[an OLEObject]
objFolderItem~name: [Startmenü] objFolderItem~path:
[C:\ProgramData\Microsoft\Windows\Start
Menu] objFolderItem~type: [Dateiordner] --- folderNumber: hex=[17]
decimal=[23] objFolder : [an
OLEObject] [an OLEObject] objFolder~items: [an OLEObject]
objFolder~items~count: [54]
objFolderItem : [an OLEObject] objFolderItem~name: [Programme]
objFolderItem~path:
[C:\ProgramData\Microsoft\Windows\Start Menu\Programs] objFolderItem~type:
[Dateiordner] ---
folderNumber: hex=[18] decimal=[24] objFolder : [an OLEObject] [an
OLEObject] objFolder~items:
[an OLEObject] objFolder~items~count: [0] objFolderItem : [an OLEObject]
objFolderItem~name:
[Autostart] objFolderItem~path: [C:\ProgramData\Microsoft\Windows\Start
Menu\Programs\Startup]
objFolderItem~type: [Dateiordner] --- folderNumber: hex=[19] decimal=[25]
objFolder : [an
OLEObject] [an OLEObject] objFolder~items: [an OLEObject]
objFolder~items~count: [10]
objFolderItem : [an OLEObject] objFolderItem~name: [Öffentlicher Desktop]
objFolderItem~path:
[C:\Users\Public\Desktop] objFolderItem~type: [Dateiordner] ---
folderNumber: hex=[1A]
decimal=[26] objFolder : [an OLEObject] [an OLEObject] objFolder~items: [an
OLEObject]
objFolder~items~count: [26] objFolderItem : [an OLEObject]
objFolderItem~name: [Roaming]
objFolderItem~path: [C:\Users\Administrator\AppData\Roaming]
objFolderItem~type: [Dateiordner]
--- folderNumber: hex=[1B] decimal=[27] objFolder : [an OLEObject] [an
OLEObject]
objFolder~items: [an OLEObject] objFolder~items~count: [0] objFolderItem :
[an OLEObject]
objFolderItem~name: [Printer Shortcuts] objFolderItem~path:
[C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Printer
Shortcuts] objFolderItem~type:
[Dateiordner] --- folderNumber: hex=[1C] decimal=[28] objFolder : [an
OLEObject] [an OLEObject]
objFolder~items: [an OLEObject] objFolder~items~count: [23] objFolderItem :
[an OLEObject]
objFolderItem~name: [Local] objFolderItem~path:
[C:\Users\Administrator\AppData\Local]
objFolderItem~type: [Dateiordner] --- folderNumber: hex=[1D] decimal=[29]
objFolder : [an
OLEObject] [an OLEObject] objFolder~items: [an OLEObject]
objFolder~items~count: [0]
objFolderItem : [an OLEObject] objFolderItem~name: [Autostart]
objFolderItem~path:
[C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start
Menu\Programs\Startup]
objFolderItem~type: [Dateiordner] --- folderNumber: hex=[1E] decimal=[30]
objFolder : [an
OLEObject] [an OLEObject] objFolder~items: [an OLEObject]
objFolder~items~count: [0]
objFolderItem : [an OLEObject] objFolderItem~name: [Autostart]
objFolderItem~path:
[C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup]
objFolderItem~type: [Dateiordner]
--- folderNumber: hex=[1F] decimal=[31] objFolder : [an OLEObject] [an
OLEObject]
objFolder~items: [an OLEObject] objFolder~items~count: [5] objFolderItem :
[an OLEObject]
objFolderItem~name: [Favoriten] objFolderItem~path:
[C:\Users\Administrator\Favorites]
objFolderItem~type: [Dateiordner] --- folderNumber: hex=[20] decimal=[32]
objFolder : [an
OLEObject] [an OLEObject] objFolder~items: [an OLEObject]
objFolder~items~count: [432]
objFolderItem : [an OLEObject] objFolderItem~name: [Temporary Internet
Files]
objFolderItem~path:
[C:\Users\Administrator\AppData\Local\Microsoft\Windows\Temporary Internet
Files] objFolderItem~type: [Dateiordner] --- folderNumber: hex=[21]
decimal=[33] objFolder : [an
OLEObject] [an OLEObject] objFolder~items: [an OLEObject]
objFolder~items~count: [46]
objFolderItem : [an OLEObject] objFolderItem~name: [Cookies]
objFolderItem~path:
[C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Cookies]
objFolderItem~type:
[Dateiordner] --- folderNumber: hex=[22] decimal=[34] objFolder : [an
OLEObject] [an OLEObject]
objFolder~items: [an OLEObject] objFolder~items~count: [4] objFolderItem :
[an OLEObject]
objFolderItem~name: [History] objFolderItem~path:
[C:\Users\Administrator\AppData\Local\Microsoft\Windows\History]
objFolderItem~type:
[Dateiordner] --- folderNumber: hex=[23] decimal=[35] objFolder : [an
OLEObject] [an OLEObject]
objFolder~items: [an OLEObject] objFolder~items~count: [29] objFolderItem :
[an OLEObject]
objFolderItem~name: [ProgramData] objFolderItem~path: [C:\ProgramData]
objFolderItem~type:
[Dateiordner] --- folderNumber: hex=[24] decimal=[36] objFolder : [an
OLEObject] [an OLEObject]
objFolder~items: [an OLEObject] objFolder~items~count: [111] objFolderItem
: [an OLEObject]
objFolderItem~name: [Windows] objFolderItem~path: [C:\Windows]
objFolderItem~type: [Dateiordner]
--- folderNumber: hex=[25] decimal=[37] objFolder : [an OLEObject] [an
OLEObject]
objFolder~items: [an OLEObject] objFolder~items~count: [2469] objFolderItem
: [an OLEObject]
objFolderItem~name: [System32] objFolderItem~path: [C:\Windows\System32]
objFolderItem~type:
[Dateiordner] --- folderNumber: hex=[26] decimal=[38] objFolder : [an
OLEObject] [an OLEObject]
objFolder~items: [an OLEObject] objFolder~items~count: [60] objFolderItem :
[an OLEObject]
objFolderItem~name: [Programme (x86)] objFolderItem~path: [C:\Program Files
(x86)]
objFolderItem~type: [Dateiordner] --- folderNumber: hex=[27] decimal=[39]
objFolder : [an
OLEObject] [an OLEObject] objFolder~items: [an OLEObject]
objFolder~items~count: [1]
objFolderItem : [an OLEObject] objFolderItem~name: [Eigene Bilder]
objFolderItem~path:
[C:\Users\Administrator\Pictures] objFolderItem~type: [Dateiordner] ---
folderNumber: hex=[28]
decimal=[40] objFolder : [an OLEObject] [an OLEObject] objFolder~items: [an
OLEObject]
objFolder~items~count: [27] objFolderItem : [an OLEObject]
objFolderItem~name: [Administrator]
objFolderItem~path: [C:\Users\Administrator] objFolderItem~type:
[Dateiordner] --- folderNumber:
hex=[29] decimal=[41] objFolder : [an OLEObject] [an OLEObject]
objFolder~items: [an OLEObject]
objFolder~items~count: [2469] objFolderItem : [an OLEObject]
objFolderItem~name: [SysWOW64]
objFolderItem~path: [C:\Windows\SysWOW64] objFolderItem~type: [Dateiordner]
--- folderNumber:
hex=[2A] decimal=[42] objFolder : [an OLEObject] [an OLEObject]
objFolder~items: [an OLEObject]
objFolder~items~count: [60] objFolderItem : [an OLEObject]
objFolderItem~name: [Programme (x86)]
objFolderItem~path: [C:\Program Files (x86)] objFolderItem~type:
[Dateiordner] --- folderNumber:
hex=[2B] decimal=[43] objFolder : [an OLEObject] [an OLEObject]
objFolder~items: [an OLEObject]
objFolder~items~count: [19] objFolderItem : [an OLEObject]
objFolderItem~name: [Common Files]
objFolderItem~path: [C:\Program Files (x86)\Common Files]
objFolderItem~type: [Dateiordner] ---
folderNumber: hex=[2C] decimal=[44] objFolder : [an OLEObject] [an
OLEObject] objFolder~items:
[an OLEObject] objFolder~items~count: [19] objFolderItem : [an OLEObject]
objFolderItem~name:
[Common Files] objFolderItem~path: [C:\Program Files (x86)\Common Files]
objFolderItem~type:
[Dateiordner] --- folderNumber: hex=[2D] decimal=[45] objFolder : [an
OLEObject] [an OLEObject]
objFolder~items: [an OLEObject] objFolder~items~count: [4] objFolderItem :
[an OLEObject]
objFolderItem~name: [Templates] objFolderItem~path:
[C:\ProgramData\Microsoft\Windows\Templates]
objFolderItem~type: [Dateiordner] --- folderNumber: hex=[2E] decimal=[46]
objFolder : [an
OLEObject] [an OLEObject] objFolder~items: [an OLEObject]
objFolder~items~count: [0]
objFolderItem : [an OLEObject] objFolderItem~name: [Öffentliche Dokumente]
objFolderItem~path:
[C:\Users\Public\Documents] objFolderItem~type: [Dateiordner] ---
folderNumber: hex=[2F]
decimal=[47] objFolder : [an OLEObject] [an OLEObject] objFolder~items: [an
OLEObject]
objFolder~items~count: [14] objFolderItem : [an OLEObject]
objFolderItem~name: [Verwaltung]
objFolderItem~path: [C:\ProgramData\Microsoft\Windows\Start
Menu\Programs\Administrative Tools]
objFolderItem~type: [Dateiordner] --- folderNumber: hex=[30] decimal=[48]
objFolder : [an
OLEObject] [an OLEObject] objFolder~items: [an OLEObject]
objFolder~items~count: [0]
objFolderItem : [an OLEObject] objFolderItem~name: [Verwaltung]
objFolderItem~path:
[C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start
Menu\Programs\Administrative
Tools] objFolderItem~type: [Dateiordner] --- folderNumber: hex=[31]
decimal=[49] objFolder : [an
OLEObject] [an OLEObject] objFolder~items: [an OLEObject]
objFolder~items~count: [6]
objFolderItem : [an OLEObject] objFolderItem~name: [Netzwerkverbindungen]
objFolderItem~path:
[::{21EC2020-3AEA-1069-A2DD-08002B30309D}\::{7007ACC7-3202-11D1-AAD2-00805FC1270E}]
objFolderItem~type: [Systemordner] --- folderNumber: hex=[32] decimal=[50]
special folder does
not exist --- folderNumber: hex=[33] decimal=[51] special folder does not
exist ---
folderNumber: hex=[34] decimal=[52] special folder does not exist ---
folderNumber: hex=[35]
decimal=[53] objFolder : [an OLEObject] [an OLEObject] objFolder~items: [an
OLEObject]
objFolder~items~count: [1] objFolderItem : [an OLEObject]
objFolderItem~name: [Öffentliche
Musik] objFolderItem~path: [C:\Users\Public\Music] objFolderItem~type:
[Dateiordner] ---
folderNumber: hex=[36] decimal=[54] objFolder : [an OLEObject] [an
OLEObject] objFolder~items:
[an OLEObject] objFolder~items~count: [1] objFolderItem : [an OLEObject]
objFolderItem~name:
[Öffentliche Bilder] objFolderItem~path: [C:\Users\Public\Pictures]
objFolderItem~type:
[Dateiordner] --- folderNumber: hex=[37] decimal=[55] objFolder : [an
OLEObject] [an OLEObject]
objFolder~items: [an OLEObject] objFolder~items~count: [1] objFolderItem :
[an OLEObject]
objFolderItem~name: [Öffentliche Videos] objFolderItem~path:
[C:\Users\Public\Videos]
objFolderItem~type: [Dateiordner] --- folderNumber: hex=[38] decimal=[56]
objFolder : [an
OLEObject] [an OLEObject] objFolder~items: [an OLEObject]
objFolder~items~count: [3]
objFolderItem : [an OLEObject] objFolderItem~name: [Resources]
objFolderItem~path:
[C:\Windows\Resources] objFolderItem~type: [Dateiordner] --- folderNumber:
hex=[39] decimal=[57]
objFolder : [an OLEObject] [an OLEObject] objFolder~items: [an OLEObject]
objFolder~items~count:
[0] objFolderItem : [an OLEObject] objFolderItem~name: [0407]
objFolderItem~path:
[C:\Windows\Resources\0407] objFolderItem~type: [Dateiordner] ---
folderNumber: hex=[3A]
decimal=[58] objFolder : [an OLEObject] [an OLEObject] objFolder~items: [an
OLEObject]
objFolder~items~count: [0] objFolderItem : [an OLEObject]
objFolderItem~name: [OEM Links]
objFolderItem~path: [C:\ProgramData\OEM Links] objFolderItem~type:
[Dateiordner] ---
folderNumber: hex=[3B] decimal=[59] objFolder : [an OLEObject] [an
OLEObject] objFolder~items:
[an OLEObject] objFolder~items~count: [0] objFolderItem : [an OLEObject]
objFolderItem~name:
[Temporärer Ordner für zu brennende Dateien] objFolderItem~path:
[C:\Users\Administrator\AppData\Local\Microsoft\Windows\Burn\Burn]
objFolderItem~type:
[Dateiordner] --- folderNumber: hex=[3C] decimal=[60] special folder does
not exist ---
folderNumber: hex=[3D] decimal=[61] objFolder : [an OLEObject] [an
OLEObject] objFolder~items:
[an OLEObject] objFolder~items~count: [19] objFolderItem : [an OLEObject]
objFolderItem~name:
[Netzwerk] objFolderItem~path: [::{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}]
objFolderItem~type:
[Systemordner] --- folderNumber: hex=[3E] decimal=[62] special folder does
not exist ---
folderNumber: hex=[3F] decimal=[63] special folder does not exist
Here is the little testprogram (it probes a range of special folder numbers):
-- rgf, 2016-08-08: get names of all special folders in the system parse
version v; say "ooRexx
version :" v say "Windows version:" sysversion() objShell =
.oleObject~new('Shell.Application')
xrange=xrange("00"x, "3F"x) say "xrange~length:" pp(xrange~length)
"xrange[30]="pp(xrange[30])
do i=1 to xrange~length c=xrange[i] -- get character call getName objShell,
c~c2d -- use decimal
name end exit ::routine pp return "["arg(1)"]" ::routine getName use strict
arg objShell,
folderNumber say say "---" "folderNumber:" "hex="pp(folderNumber~d2x)
"decimal="pp(folderNumber)
objFolder = objShell~nameSpace(folderNumber) if .nil=objFolder then do say
" special folder does
not exist" return end say "objFolder :" pp(objFolder) pp(objFolder~string)
say "
objFolder~items:" pp(objFolder~items) "objFolder~items~count:"
pp(objFolder~items~count)
objFolderItem = objFolder~self say "objFolderItem :" pp(objFolderItem) say "
objFolderItem~name:" pp(objFolderItem~name) say " objFolderItem~path:"
pp(objFolderItem~path)
say " objFolderItem~type:" pp(objFolderItem~type) return
So the "windows\ole\SpecialFolders.testGroup" is dependent on the installed
language of Windows, as
"name" returns the "display name" in effect. As a result the reported 19
failures in that testGroup
are not significant on a non-English Windows at all!
---rony
On 08.08.2016 14:20, Rony G. Flatscher wrote:
>
> Hi Erich,
>
> thank you very much for creating the beta versions for Windows, which made me
> able to fully
> replace my current 4.2.0 32-bit installation with the beta 5.0.0 32-bit
> installation on my Windows
> 7, 64-Bit PC!
>
> The testsuite ran without an error, but with 17 failures that are linked to
> the Windows special
> folders in the "windows\ole\SpecialFolders.testGroup" test group.
>
> Here is the output of the run:
>
> F:\work\svn\oorexx\test\trunk>rexx testOORexx.rex -X native_api Searching
> for test
> containers..... Executing automated test suite...
> ...........................................
>
> ...........................................................................
>
> ...........................................................................
> ................................ ooTest Framework - Automated Test of the
> ooRexx Interpreter
> Interpreter: REXX-ooRexx_5.0.0(MT)_32-bit 6.05 7 Aug 2016 Addressing
> Mode: 32 ooRexxUnit:
> 2.0.0_3.2.0 ooTest: 1.0.0_4.0.0 Tests ran: 22038 Assertions: 315020
> Failures: 19 Errors: 0
> Skipped files: 15 [failure] [20160808 14:13:55.716000] svn: r9919 Change
> date: 2014-02-15
> 20:55:48 +0100 Test: TESTADMINISTRATIVETOOLS Class:
> SpecialFolders.testgroup File:
> F:\work\svn\oorexx\...\platform\windows\ole\SpecialFolders.testGroup
> Line: 774 Failed:
> assertTrue Expected: [1] Actual: [[0], identityHash="-2128282449"]
> [failure] [20160808
> 14:13:55.746000] svn: r9919 Change date: 2014-02-15 20:55:48 +0100 Test:
> TESTALLUSERSPROGRAMS
> Class: SpecialFolders.testgroup File:
> F:\work\svn\oorexx\...\platform\windows\ole\SpecialFolders.testGroup
> Line: 426 Failed:
> assertTrue Expected: [1] Actual: [[0], identityHash="-2128282449"]
> [failure] [20160808
> 14:13:55.756000] svn: r9919 Change date: 2014-02-15 20:55:48 +0100 Test:
> TESTALLUSERSSTARTMENU
> Class: SpecialFolders.testgroup File:
> F:\work\svn\oorexx\...\platform\windows\ole\SpecialFolders.testGroup
> Line: 409 Failed:
> assertTrue Expected: [1] Actual: [[0], identityHash="-2128282449"]
> [failure] [20160808
> 14:13:55.756000] svn: r9919 Change date: 2014-02-15 20:55:48 +0100 Test:
> TESTALLUSERSSTARTUP
> Class: SpecialFolders.testgroup File:
> F:\work\svn\oorexx\...\platform\windows\ole\SpecialFolders.testGroup
> Line: 443 Failed:
> assertTrue Expected: [1] Actual: [[0], identityHash="-2128282449"]
> [failure] [20160808
> 14:13:55.816000] svn: r9919 Change date: 2014-02-15 20:55:48 +0100 Test:
> TESTCONTROLPANEL
> Class: SpecialFolders.testgroup File:
> F:\work\svn\oorexx\...\platform\windows\ole\SpecialFolders.testGroup
> Line: 120 Failed:
> assertTrue Expected: [1] Actual: [[0], identityHash="-2128282449"]
> [failure] [20160808
> 14:13:55.856000] svn: r9919 Change date: 2014-02-15 20:55:48 +0100 Test:
> TESTFAVORITES Class:
> SpecialFolders.testgroup File:
> F:\work\svn\oorexx\...\platform\windows\ole\SpecialFolders.testGroup
> Line: 171 Failed:
> assertTrue Expected: [1] Actual: [[0], identityHash="-2128282449"]
> [failure] [20160808
> 14:13:57.226000] svn: r9919 Change date: 2014-02-15 20:55:48 +0100 Test:
> TESTMYDOCUMENTS
> Class: SpecialFolders.testgroup File:
> F:\work\svn\oorexx\...\platform\windows\ole\SpecialFolders.testGroup
> Line: 154 Failed:
> assertTrue Expected: [1] Actual: [[0], identityHash="-2128282449"]
> [failure] [20160808
> 14:13:57.236000] svn: r9919 Change date: 2014-02-15 20:55:48 +0100 Test:
> TESTMYMUSIC Class:
> SpecialFolders.testgroup File:
> F:\work\svn\oorexx\...\platform\windows\ole\SpecialFolders.testGroup
> Line: 273 Failed:
> assertTrue Expected: [1] Actual: [[0], identityHash="-2128282449"]
> [failure] [20160808
> 14:13:57.246000] svn: r9919 Change date: 2014-02-15 20:55:48 +0100 Test:
> TESTMYNETWORKPLACES
> Class: SpecialFolders.testgroup File:
> F:\work\svn\oorexx\...\platform\windows\ole\SpecialFolders.testGroup
> Line: 341 Failed:
> assertTrue Expected: [1] Actual: [[0], identityHash="-2128282449"]
> [failure] [20160808
> 14:13:57.256000] svn: r9919 Change date: 2014-02-15 20:55:48 +0100 Test:
> TESTMYPICTURES Class:
> SpecialFolders.testgroup File:
> F:\work\svn\oorexx\...\platform\windows\ole\SpecialFolders.testGroup
> Line: 680 Failed:
> assertTrue Expected: [1] Actual: [[0], identityHash="-2128282449"]
> [failure] [20160808
> 14:13:57.256000] svn: r9919 Change date: 2014-02-15 20:55:48 +0100 Test:
> TESTMYRECENTDOCUMENTS
> Class: SpecialFolders.testgroup File:
> F:\work\svn\oorexx\...\platform\windows\ole\SpecialFolders.testGroup
> Line: 205 Failed:
> assertTrue Expected: [1] Actual: [[0], identityHash="-2128282449"]
> [failure] [20160808
> 14:13:57.296000] svn: r9919 Change date: 2014-02-15 20:55:48 +0100 Test:
> TESTNETWORKCONNECTIONS Class: SpecialFolders.testgroup File:
> F:\work\svn\oorexx\...\platform\windows\ole\SpecialFolders.testGroup
> Line: 791 Failed:
> assertTrue Expected: [1] Actual: [[0], identityHash="-2128282449"]
> [failure] [20160808
> 14:13:57.336000] svn: r9919 Change date: 2014-02-15 20:55:48 +0100 Test:
> TESTPRINTERSFAXES
> Class: SpecialFolders.testgroup File:
> F:\work\svn\oorexx\...\platform\windows\ole\SpecialFolders.testGroup
> Line: 137 Failed:
> assertTrue Expected: [1] Actual: [[0], identityHash="-2128282449"]
> [failure] [20160808
> 14:13:57.346000] svn: r9919 Change date: 2014-02-15 20:55:48 +0100 Test:
> TESTPROGRAMFILES
> Class: SpecialFolders.testgroup File:
> F:\work\svn\oorexx\...\platform\windows\ole\SpecialFolders.testGroup
> Line: 663 Failed:
> assertTrue Expected: [1] Actual: [[0], identityHash="-2128282449"]
> [failure] [20160808
> 14:13:57.346000] svn: r9919 Change date: 2014-02-15 20:55:48 +0100 Test:
> TESTPROGRAMS Class:
> SpecialFolders.testgroup File:
> F:\work\svn\oorexx\...\platform\windows\ole\SpecialFolders.testGroup
> Line: 103 Failed:
> assertTrue Expected: [1] Actual: [[0], identityHash="-2128282449"]
> [failure] [20160808
> 14:13:57.346000] svn: r9919 Change date: 2014-02-15 20:55:48 +0100 Test:
> TESTRECYCLEBIN Class:
> SpecialFolders.testgroup File:
> F:\work\svn\oorexx\...\platform\windows\ole\SpecialFolders.testGroup
> Line: 239 Failed:
> assertTrue Expected: [1] Actual: [[0], identityHash="-2128282449"]
> [failure] [20160808
> 14:13:57.366000] svn: r9919 Change date: 2014-02-15 20:55:48 +0100 Test:
> TESTSHAREDDOCUMENTS
> Class: SpecialFolders.testgroup File:
> F:\work\svn\oorexx\...\platform\windows\ole\SpecialFolders.testGroup
> Line: 757 Failed:
> assertTrue Expected: [1] Actual: [[0], identityHash="-2128282449"]
> [failure] [20160808
> 14:13:57.366000] svn: r9919 Change date: 2014-02-15 20:55:48 +0100 Test:
> TESTSTARTMENU Class:
> SpecialFolders.testgroup File:
> F:\work\svn\oorexx\...\platform\windows\ole\SpecialFolders.testGroup
> Line: 256 Failed:
> assertTrue Expected: [1] Actual: [[0], identityHash="-2128282449"]
> [failure] [20160808
> 14:13:57.376000] svn: r9919 Change date: 2014-02-15 20:55:48 +0100 Test:
> TESTSTARTUP Class:
> SpecialFolders.testgroup File:
> F:\work\svn\oorexx\...\platform\windows\ole\SpecialFolders.testGroup
> Line: 188 Failed:
> assertTrue Expected: [1] Actual: [[0], identityHash="-2128282449"]
> Interpreter:
> REXX-ooRexx_5.0.0(MT)_32-bit 6.05 7 Aug 2016 Addressing Mode: 32
> ooRexxUnit: 2.0.0_3.2.0
> ooTest: 1.0.0_4.0.0 Tests ran: 22038 Assertions: 315020 Failures: 19
> Errors: 0 Skipped files:
> 15 File search: 00:00:03.610000 Suite construction: 00:00:00.770000 Test
> execution:
> 00:04:03.220000 Total time: 00:04:08.140000 F:\work\svn\oorexx\test\trunk>
>
> ---rony
>
> On 07.08.2016 22:17, Erich Steinböck wrote:
>> Should any of you install one of the ooRexx 5.0 beta Windows installers now
>> at
>> https://sourceforge.net/projects/oorexx/files/oorexx/5.0.0beta/, please let
>> us know which Windows
>> version you tested it on, whether you ran the 32- or 64-bit installer, and
>> to what extent it was
>> tested (ran a single test command/script; lots of testing done with several
>> scripts; ran
>> testOOrexx regression tests)
>>
>> I'm building/testing on Windows 7, so I can report:
>> *Win7 / ooRexx.5.0.0.0-x86_64.exe / testOOrexx
>> *
>> We're looking for unique reports only, no need to report duplicates.
>>
>> (This is currently for Windows only, as soon as we have several Linux
>> packages available, a
>> similar test run should be done)
------------------------------------------------------------------------------
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel