Home » Archimedes archive » Micro User » MU 1991-07.adf » PD-Stuff » Utilities/!FileUtils/!Run

Utilities/!FileUtils/!Run

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Micro User » MU 1991-07.adf » PD-Stuff
Filename: Utilities/!FileUtils/!Run
Read OK:
File size: 01C5 bytes
Load address: 0000
Exec address: 0000
File contents
| Run FileUtils
IconSprites <Obey$Dir>.!Sprites

if "<System$Path>" = "" then Error 0 System resources cannot be found
RMEnsure SharedCLibrary 3.50 RMLoad System:Modules.Clib
RMEnsure SharedCLibrary 3.50 Error You need Clib 3.50 or later

Set Alias$FileUtilsC FileUtils_LoadStart
RMensure FUhotkey 0.00 Set Alias$FileUtilsC |M
FileUtilsC
Unset Alias$FileUtilsC

Set FileUtils$Dir <Obey$Dir>
WimpSlot -min 104k -max 104k
Run <FileUtils$Dir>.!RunImage %0
00000000  7c 20 52 75 6e 20 46 69  6c 65 55 74 69 6c 73 0a  || Run FileUtils.|
00000010  49 63 6f 6e 53 70 72 69  74 65 73 20 3c 4f 62 65  |IconSprites <Obe|
00000020  79 24 44 69 72 3e 2e 21  53 70 72 69 74 65 73 0a  |y$Dir>.!Sprites.|
00000030  0a 69 66 20 22 3c 53 79  73 74 65 6d 24 50 61 74  |.if "<System$Pat|
00000040  68 3e 22 20 3d 20 22 22  20 74 68 65 6e 20 45 72  |h>" = "" then Er|
00000050  72 6f 72 20 30 20 53 79  73 74 65 6d 20 72 65 73  |ror 0 System res|
00000060  6f 75 72 63 65 73 20 63  61 6e 6e 6f 74 20 62 65  |ources cannot be|
00000070  20 66 6f 75 6e 64 0a 52  4d 45 6e 73 75 72 65 20  | found.RMEnsure |
00000080  53 68 61 72 65 64 43 4c  69 62 72 61 72 79 20 33  |SharedCLibrary 3|
00000090  2e 35 30 20 52 4d 4c 6f  61 64 20 53 79 73 74 65  |.50 RMLoad Syste|
000000a0  6d 3a 4d 6f 64 75 6c 65  73 2e 43 6c 69 62 0a 52  |m:Modules.Clib.R|
000000b0  4d 45 6e 73 75 72 65 20  53 68 61 72 65 64 43 4c  |MEnsure SharedCL|
000000c0  69 62 72 61 72 79 20 33  2e 35 30 20 45 72 72 6f  |ibrary 3.50 Erro|
000000d0  72 20 59 6f 75 20 6e 65  65 64 20 43 6c 69 62 20  |r You need Clib |
000000e0  33 2e 35 30 20 6f 72 20  6c 61 74 65 72 0a 0a 53  |3.50 or later..S|
000000f0  65 74 20 41 6c 69 61 73  24 46 69 6c 65 55 74 69  |et Alias$FileUti|
00000100  6c 73 43 20 46 69 6c 65  55 74 69 6c 73 5f 4c 6f  |lsC FileUtils_Lo|
00000110  61 64 53 74 61 72 74 0a  52 4d 65 6e 73 75 72 65  |adStart.RMensure|
00000120  20 46 55 68 6f 74 6b 65  79 20 30 2e 30 30 20 53  | FUhotkey 0.00 S|
00000130  65 74 20 41 6c 69 61 73  24 46 69 6c 65 55 74 69  |et Alias$FileUti|
00000140  6c 73 43 20 7c 4d 0a 46  69 6c 65 55 74 69 6c 73  |lsC |M.FileUtils|
00000150  43 0a 55 6e 73 65 74 20  41 6c 69 61 73 24 46 69  |C.Unset Alias$Fi|
00000160  6c 65 55 74 69 6c 73 43  0a 0a 53 65 74 20 46 69  |leUtilsC..Set Fi|
00000170  6c 65 55 74 69 6c 73 24  44 69 72 20 3c 4f 62 65  |leUtils$Dir <Obe|
00000180  79 24 44 69 72 3e 0a 57  69 6d 70 53 6c 6f 74 20  |y$Dir>.WimpSlot |
00000190  2d 6d 69 6e 20 31 30 34  6b 20 2d 6d 61 78 20 31  |-min 104k -max 1|
000001a0  30 34 6b 0a 52 75 6e 20  3c 46 69 6c 65 55 74 69  |04k.Run <FileUti|
000001b0  6c 73 24 44 69 72 3e 2e  21 52 75 6e 49 6d 61 67  |ls$Dir>.!RunImag|
000001c0  65 20 25 30 0a                                    |e %0.|
000001c5