5 If NOT EXISTS "RAM:Clipboards"
6 Makedir "RAM:Clipboards"
11 If NOT EXISTS "RAM:ENV"
13 Assign "ENV:" "RAM:ENV"
17 Assign "CLIPS:" "RAM:Clipboards"
19 Assign "KEYMAPS:" "DEVS:Keymaps"
20 Assign "LOCALE:" "SYS:Locale"
21 Assign "LIBS:" "SYS:Classes" ADD
22 Assign "FONTS:" "SYS:Fonts"
23 Assign "HELP:" "LOCALE:Help" DEFER
24 Assign "THEMES:" "SYS:Prefs/Presets/Themes" >NIL:
25 Assign "IMAGES:" "SYS:System/Images" DEFER
26 Assign "PRINTERS:" "DEVS:Printers"
27 Assign "WANDERER:" "SYS:System/Wanderer" DEFER
29 If EXISTS "C:SetPatch"
33 If EXISTS "SYS:Classes/USB"
34 Assign "USBCLASSES:" "SYS:Classes/USB"
38 If EXISTS "SYS:DiskImages"
39 Assign "FDSK:" "SYS:DiskImages"
43 Mount >NIL: "DEVS:DOSDrivers/~((.#?)|(#?.info)|(#?.dbg))"
47 Path "C:" "SYS:System" "S:" "SYS:Prefs" "SYS:Tools" "SYS:Utilities" QUIET
49 If EXISTS "SYS:Tools/Commodities"
50 Path "SYS:Tools/Commodities" QUIET ADD
54 Path "SYS:Demos" ADD QUIET
58 Path "Sys:RexxC" ADD QUIET
61 Copy >NIL: "ENVARC:" "ENV:" ALL NOPRO NOREQ PAT "~(def_#?.info)"
63 If EXISTS "ENV:SYS/theme.var"
64 Assign "THEME:" "${SYS/theme.var}"
66 Assign "THEME:" "THEMES:AROSDefault"
69 Touch >NIL: "FONTS:__TEST__"
72 Assign "FONTS:" "RAM:Fonts"
73 Copy >NIL: "SYS:Fonts" "FONTS:" ALL CLONE NOREQ
75 Assign >NIL: "FONTS:" "FONTS:Russian" ADD
77 IF EXISTS "FONTS:__TEST__"
78 Delete "FONTS:__TEST__" QUIET
81 If NOT EXISTS "FONTS:fixed.font"
85 AddDatatypes REFRESH QUIET
88 Run <NIL: >NIL: QUIET ConClip
90 If EXISTS "C:RexxMast"
92 Run <NIL: >NIL: QUIET C:RexxMast
95 If EXISTS "C:Decoration"
96 If EXISTS "ENV:SYS/theme.var"
97 C:Decoration <NIL: >NIL:
98 If EXISTS "THEME:global.prefs"
99 If EXISTS "ENV:Zune/usethemeprefs"
100 Copy >NIL: "THEME:global.prefs" "ENV:Zune/" NOPRO NOREQ FORCEOVERWRITE
106 Assign EXISTS "Extras:" >NIL:
108 If EXISTS "$EXTRASPATH"
109 Assign "Extras:" "$EXTRASPATH"
111 Assign "Extras:" "SYS:Extras" >NIL:
113 Assign "Extras:" "NIL:" >NIL:
118 If EXISTS "ENV:SYS/Packages"
119 List "ENV:SYS/Packages" NOHEAD FILES TO "T:P" LFORMAT="If EXISTS ${SYS/Packages/%N}*NCD ${SYS/Packages/%N}*NIf EXISTS S/%N-Startup*NExecute S/%N-Startup*NElse*NIf EXISTS S/Package-Startup*NExecute S/Package-Startup*NEndif*NEndif*NEndif*N"
125 Protect "S:PCD" "s" ADD QUIET
126 Protect "S:SPat" "s" ADD QUIET
127 Protect "S:DPat" "s" ADD QUIET
129 If EXISTS "S:User-Startup"
130 Execute "S:User-Startup"
133 If EXISTS "WANDERER:Wanderer"