Home » Archimedes archive » Acorn Computing » 1994 02 subscription disc.adf » 9402s » PD/TaskEnsure/TaskEnsurM

PD/TaskEnsure/TaskEnsurM

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 » Acorn Computing » 1994 02 subscription disc.adf » 9402s
Filename: PD/TaskEnsure/TaskEnsurM
Read OK:
File size: 0380 bytes
Load address: 0000
Exec address: 0000
File contents
� +\TaskEnsureTaskEnsure	0.00 (11 Aug 1993) � Ben Summers 1993TaskEnsure��|*TaskEnsure checks to see if a WIMP task is present, and executes a command if it is/is not present.
If the -p flag is in the command, the command will be excuted if the task IS present.
Enclose the task name in "s if the task name contains a space. Task name matching is case sensitive.
Syntax: TaskEnsure [-p] <task name> <command to execute>@-� ����sO�����ɠ���@����-Q�
��pQ�PQJ��@����Q�E
 Q����"Q���A
 ��R�<
 R� ���� �� ��D�� �� ��R����Q�� ��&�jH�� ��0��@�� S�0��S�S��
�P���@��P�D����

� Ben Summers 1993

@��P���Bad arguments, syntax: TaskEnsure [-p] <task name> <command>LO�+� ��R��
"R� ���� �� �� �� R������
00000000  f0 01 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000010  20 00 00 00 2b 00 00 00  5c 00 00 00 00 00 00 00  | ...+...\.......|
00000020  54 61 73 6b 45 6e 73 75  72 65 00 54 61 73 6b 45  |TaskEnsure.TaskE|
00000030  6e 73 75 72 65 09 30 2e  30 30 20 28 31 31 20 41  |nsure.0.00 (11 A|
00000040  75 67 20 31 39 39 33 29  20 a9 20 42 65 6e 20 53  |ug 1993) . Ben S|
00000050  75 6d 6d 65 72 73 20 31  39 39 33 00 54 61 73 6b  |ummers 1993.Task|
00000060  45 6e 73 75 72 65 00 00  d5 01 00 00 00 00 ff 00  |Ensure..........|
00000070  00 00 00 00 7c 00 00 00  00 00 00 00 2a 54 61 73  |....|.......*Tas|
00000080  6b 45 6e 73 75 72 65 20  63 68 65 63 6b 73 20 74  |kEnsure checks t|
00000090  6f 20 73 65 65 20 69 66  20 61 20 57 49 4d 50 20  |o see if a WIMP |
000000a0  74 61 73 6b 20 69 73 20  70 72 65 73 65 6e 74 2c  |task is present,|
000000b0  20 61 6e 64 20 65 78 65  63 75 74 65 73 20 61 20  | and executes a |
000000c0  63 6f 6d 6d 61 6e 64 20  69 66 20 69 74 20 69 73  |command if it is|
000000d0  2f 69 73 20 6e 6f 74 20  70 72 65 73 65 6e 74 2e  |/is not present.|
000000e0  0d 49 66 20 74 68 65 20  2d 70 20 66 6c 61 67 20  |.If the -p flag |
000000f0  69 73 20 69 6e 20 74 68  65 20 63 6f 6d 6d 61 6e  |is in the comman|
00000100  64 2c 20 74 68 65 20 63  6f 6d 6d 61 6e 64 20 77  |d, the command w|
00000110  69 6c 6c 20 62 65 20 65  78 63 75 74 65 64 20 69  |ill be excuted i|
00000120  66 20 74 68 65 20 74 61  73 6b 20 49 53 20 70 72  |f the task IS pr|
00000130  65 73 65 6e 74 2e 0d 45  6e 63 6c 6f 73 65 20 74  |esent..Enclose t|
00000140  68 65 20 74 61 73 6b 20  6e 61 6d 65 20 69 6e 20  |he task name in |
00000150  22 73 20 69 66 20 74 68  65 20 74 61 73 6b 20 6e  |"s if the task n|
00000160  61 6d 65 20 63 6f 6e 74  61 69 6e 73 20 61 20 73  |ame contains a s|
00000170  70 61 63 65 2e 20 54 61  73 6b 20 6e 61 6d 65 20  |pace. Task name |
00000180  6d 61 74 63 68 69 6e 67  20 69 73 20 63 61 73 65  |matching is case|
00000190  20 73 65 6e 73 69 74 69  76 65 2e 0d 53 79 6e 74  | sensitive..Synt|
000001a0  61 78 3a 20 54 61 73 6b  45 6e 73 75 72 65 20 5b  |ax: TaskEnsure [|
000001b0  2d 70 5d 20 3c 74 61 73  6b 20 6e 61 6d 65 3e 20  |-p] <task name> |
000001c0  3c 63 6f 6d 6d 61 6e 64  20 74 6f 20 65 78 65 63  |<command to exec|
000001d0  75 74 65 3e 00 00 00 00  00 40 2d e9 00 20 a0 e1  |ute>.....@-.. ..|
000001e0  02 00 a0 e3 73 1f 4f e2  1e 00 02 ef 00 80 fd e8  |....s.O.........|
000001f0  02 c9 a0 e3 01 10 a0 e3  40 10 8c e5 00 10 d0 e4  |........@.......|
00000200  2d 00 51 e3 0a 00 00 1a  01 10 d0 e5 70 00 51 e3  |-.Q.........p.Q.|
00000210  50 00 51 13 4a 00 00 1a  00 10 a0 e3 40 10 8c e5  |P.Q.J.......@...|
00000220  01 10 d0 e4 00 00 51 e3  45 00 00 0a 20 00 51 e3  |......Q.E... .Q.|
00000230  fa ff ff 1a 00 10 d0 e4  22 00 51 e3 00 10 8c e2  |........".Q.....|
00000240  41 00 00 0a 01 20 d0 e4  00 00 52 e3 3c 00 00 0a  |A.... ....R.<...|
00000250  20 00 52 e3 01 20 c1 14  f9 ff ff 1a 00 20 a0 e3  | .R.. ....... ..|
00000260  00 20 c1 e4 44 10 8c e2  01 20 d0 e4 01 20 c1 e4  |. ..D.... ... ..|
00000270  00 00 52 e3 fb ff ff 1a  00 00 a0 e3 51 1f 8c e2  |..R.........Q...|
00000280  10 20 a0 e3 81 26 06 ef  0c 00 00 6a 48 11 9c e5  |. ...&.....jH...|
00000290  00 20 8c e2 01 30 d1 e4  01 40 d2 e4 20 00 53 e3  |. ...0...@.. .S.|
000002a0  00 30 a0 b3 04 00 53 e1  02 00 00 1a 00 00 53 e3  |.0....S.......S.|
000002b0  f7 ff ff 1a 0d 00 00 ea  00 00 50 e3 ee ff ff aa  |..........P.....|
000002c0  40 00 9c e5 00 00 50 e3  11 00 00 0f 44 00 8c e2  |@.....P.....D...|
000002d0  05 00 00 ef 11 00 00 ef  0a 0a a9 20 42 65 6e 20  |........... Ben |
000002e0  53 75 6d 6d 65 72 73 20  31 39 39 33 0a 0a 00 00  |Summers 1993....|
000002f0  40 00 9c e5 00 00 50 e3  11 00 00 1f f2 ff ff ea  |@.....P.........|
00000300  00 00 00 00 42 61 64 20  61 72 67 75 6d 65 6e 74  |....Bad argument|
00000310  73 2c 20 73 79 6e 74 61  78 3a 20 54 61 73 6b 45  |s, syntax: TaskE|
00000320  6e 73 75 72 65 20 5b 2d  70 5d 20 3c 74 61 73 6b  |nsure [-p] <task|
00000330  20 6e 61 6d 65 3e 20 3c  63 6f 6d 6d 61 6e 64 3e  | name> <command>|
00000340  00 00 00 00 4c 00 4f e2  2b 00 00 ef 01 20 f0 e5  |....L.O.+.... ..|
00000350  00 00 52 e3 fa ff ff 0a  22 00 52 e3 01 20 c1 14  |..R.....".R.. ..|
00000360  f9 ff ff 1a 00 20 a0 e3  00 20 c1 e4 01 20 d0 e5  |..... ... ... ..|
00000370  20 00 52 e3 f2 ff ff 1a  02 00 80 e2 b8 ff ff ea  | .R.............|
00000380