Home » Archimedes archive » Micro User » MU 1992-03.adf » PD » USEFUL/!FileUtils/!Run

USEFUL/!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 1992-03.adf » PD
Filename: USEFUL/!FileUtils/!Run
Read OK:
File size: 017B bytes
Load address: 0000
Exec address: 0000
Duplicates

There are 2 duplicate copies of this file in the archive:

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$FullType echo |<22>|<0>|<14>|MType %0

Set FileUtils$Dir <Obey$Dir>
WimpSlot -min 128k -max 128k
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 75 6c 6c 54 79 70  |et Alias$FullTyp|
00000100  65 20 65 63 68 6f 20 7c  3c 32 32 3e 7c 3c 30 3e  |e echo |<22>|<0>|
00000110  7c 3c 31 34 3e 7c 4d 54  79 70 65 20 25 30 0a 0a  ||<14>|MType %0..|
00000120  53 65 74 20 46 69 6c 65  55 74 69 6c 73 24 44 69  |Set FileUtils$Di|
00000130  72 20 3c 4f 62 65 79 24  44 69 72 3e 0a 57 69 6d  |r <Obey$Dir>.Wim|
00000140  70 53 6c 6f 74 20 2d 6d  69 6e 20 31 32 38 6b 20  |pSlot -min 128k |
00000150  2d 6d 61 78 20 31 32 38  6b 0a 52 75 6e 20 3c 46  |-max 128k.Run <F|
00000160  69 6c 65 55 74 69 6c 73  24 44 69 72 3e 2e 21 52  |ileUtils$Dir>.!R|
00000170  75 6e 49 6d 61 67 65 20  25 30 0a                 |unImage %0.|
0000017b