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
87 Run <NIL: >NIL: QUIET ConClip
89 If EXISTS "C:RexxMast"
91 Run <NIL: >NIL: QUIET C:RexxMast
94 If EXISTS "C:Decoration"
95 If EXISTS "ENV:SYS/theme.var"
96 C:Decoration <NIL: >NIL:
97 If EXISTS "THEME:global.prefs"
98 If EXISTS "ENV:Zune/usethemeprefs"
99 Copy >NIL: "THEME:global.prefs" "ENV:Zune/" NOPRO NOREQ FORCEOVERWRITE
105 Assign EXISTS "Extras:" >NIL:
107 If EXISTS "$EXTRASPATH"
108 Assign "Extras:" "$EXTRASPATH"
110 Assign "Extras:" "SYS:Extras" >NIL:
112 Assign "Extras:" "NIL:" >NIL:
117 If EXISTS "ENV:SYS/Packages"
118 List "ENV:SYS/Packages" NOHEAD FILES TO "T:P" LFORMAT="If EXISTS ${SYS/Packages/%N}*NCD ${SYS/Packages/%N}*NIf EXISTS S/Package-Startup*NExecute S/Package-Startup*NEndif*NEndif*N"
124 Protect "S:PCD" "s" ADD QUIET
125 Protect "S:SPat" "s" ADD QUIET
126 Protect "S:DPat" "s" ADD QUIET
128 If EXISTS "S:User-Startup"
129 Execute "S:User-Startup"