Home » Archimedes archive » Archimedes World » archimedes_world_volume_15_issue_2_scp.adf » !ARMEdit_ARMEdit » Docs/GETFILE
Docs/GETFILE
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 » Archimedes World » archimedes_world_volume_15_issue_2_scp.adf » !ARMEdit_ARMEdit |
Filename: | Docs/GETFILE |
Read OK: | ✔ |
File size: | 08B4 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
File : GETFILE Date : 07-Dec-97 Author : � A.Thoukydides, 1995, 1996, 1997 Description : Description of the PC GETFILE command that is part of the ARMEdit suite. INTRODUCTION The "GETFILE" command is a replacement for the command of the same name that was supplied with Acorn's software PC emulator. It allows RISC OS files to be transferred to DOS. To use this command it is necessary to load the ARMEdit module before starting the PC front-end. USAGE The syntax is: GETFILE [/?] [/M] [/P] [/S] <RISC OS file> [<DOS file>] where /? - Displays some help text. /M - Enable multitasking during copying. /P - Prompts before copying each file. /S - Copy subdirectories. <RISC OS file> - Wildcarded source RISC OS file specification to copy. <DOS file> - The destination DOS path. The source path may include standard RISC OS wildcards, i.e. "#" to match a single character or "*" for multiple characters. Files are matched using the same rules as used by RISC OS commands. If no destination filename is specified then the source filename is used with various character transformations performed. THINGS TO DO The following are changes that may be made to the GETFILE command sometime in the future. None at the moment! VERSION HISTORY 0.00 (12-Nov-95) Original development version. 0.01 (14-Nov-95) Added version number and copyright message. 0.02 (17-Nov-95) Uses correct HPC service identifier. Changed to a .COM file to make it smaller. Made error checking more comprehensive and added help text. 0.04 (16-Dec-95) Uses real HPC. 0.05 (17-Dec-95) Improved filename translation. 1.00 (12-Jan-96) First official release version. 1.01 (11-Mar-96) Version number updated to match the module. 1.02 (06-Aug-96) Date and time stamps are preserved on copied files. Support for Acorn's software PC emulator included. 1.03 (21-Feb-97) Speeded up transfer when multitasking. Included support for wildcards and recursion. 1.04 (07-Dec-97) Version number updated to match the module.
00000000 46 69 6c 65 20 20 20 20 20 20 20 20 3a 20 47 45 |File : GE| 00000010 54 46 49 4c 45 0a 44 61 74 65 20 20 20 20 20 20 |TFILE.Date | 00000020 20 20 3a 20 30 37 2d 44 65 63 2d 39 37 0a 41 75 | : 07-Dec-97.Au| 00000030 74 68 6f 72 20 20 20 20 20 20 3a 20 a9 20 41 2e |thor : . A.| 00000040 54 68 6f 75 6b 79 64 69 64 65 73 2c 20 31 39 39 |Thoukydides, 199| 00000050 35 2c 20 31 39 39 36 2c 20 31 39 39 37 0a 44 65 |5, 1996, 1997.De| 00000060 73 63 72 69 70 74 69 6f 6e 20 3a 20 44 65 73 63 |scription : Desc| 00000070 72 69 70 74 69 6f 6e 20 6f 66 20 74 68 65 20 50 |ription of the P| 00000080 43 20 47 45 54 46 49 4c 45 20 63 6f 6d 6d 61 6e |C GETFILE comman| 00000090 64 20 74 68 61 74 20 69 73 20 70 61 72 74 20 6f |d that is part o| 000000a0 66 20 74 68 65 0a 20 20 20 20 20 20 20 20 20 20 |f the. | 000000b0 20 20 20 20 41 52 4d 45 64 69 74 20 73 75 69 74 | ARMEdit suit| 000000c0 65 2e 0a 0a 0a 49 4e 54 52 4f 44 55 43 54 49 4f |e....INTRODUCTIO| 000000d0 4e 0a 0a 54 68 65 20 22 47 45 54 46 49 4c 45 22 |N..The "GETFILE"| 000000e0 20 63 6f 6d 6d 61 6e 64 20 69 73 20 61 20 72 65 | command is a re| 000000f0 70 6c 61 63 65 6d 65 6e 74 20 66 6f 72 20 74 68 |placement for th| 00000100 65 20 63 6f 6d 6d 61 6e 64 20 6f 66 20 74 68 65 |e command of the| 00000110 20 73 61 6d 65 20 6e 61 6d 65 20 74 68 61 74 0a | same name that.| 00000120 77 61 73 20 73 75 70 70 6c 69 65 64 20 77 69 74 |was supplied wit| 00000130 68 20 41 63 6f 72 6e 27 73 20 73 6f 66 74 77 61 |h Acorn's softwa| 00000140 72 65 20 50 43 20 65 6d 75 6c 61 74 6f 72 2e 20 |re PC emulator. | 00000150 49 74 20 61 6c 6c 6f 77 73 20 52 49 53 43 20 4f |It allows RISC O| 00000160 53 20 66 69 6c 65 73 20 74 6f 20 62 65 0a 74 72 |S files to be.tr| 00000170 61 6e 73 66 65 72 72 65 64 20 74 6f 20 44 4f 53 |ansferred to DOS| 00000180 2e 20 54 6f 20 75 73 65 20 74 68 69 73 20 63 6f |. To use this co| 00000190 6d 6d 61 6e 64 20 69 74 20 69 73 20 6e 65 63 65 |mmand it is nece| 000001a0 73 73 61 72 79 20 74 6f 20 6c 6f 61 64 20 74 68 |ssary to load th| 000001b0 65 20 41 52 4d 45 64 69 74 0a 6d 6f 64 75 6c 65 |e ARMEdit.module| 000001c0 20 62 65 66 6f 72 65 20 73 74 61 72 74 69 6e 67 | before starting| 000001d0 20 74 68 65 20 50 43 20 66 72 6f 6e 74 2d 65 6e | the PC front-en| 000001e0 64 2e 0a 0a 0a 55 53 41 47 45 0a 0a 54 68 65 20 |d....USAGE..The | 000001f0 73 79 6e 74 61 78 20 69 73 3a 0a 0a 20 20 20 20 |syntax is:.. | 00000200 47 45 54 46 49 4c 45 20 5b 2f 3f 5d 20 5b 2f 4d |GETFILE [/?] [/M| 00000210 5d 20 5b 2f 50 5d 20 5b 2f 53 5d 20 3c 52 49 53 |] [/P] [/S] <RIS| 00000220 43 20 4f 53 20 66 69 6c 65 3e 20 5b 3c 44 4f 53 |C OS file> [<DOS| 00000230 20 66 69 6c 65 3e 5d 0a 0a 77 68 65 72 65 0a 0a | file>]..where..| 00000240 20 20 20 20 2f 3f 20 20 20 20 20 20 20 20 20 20 | /? | 00000250 20 20 20 20 2d 20 44 69 73 70 6c 61 79 73 20 73 | - Displays s| 00000260 6f 6d 65 20 68 65 6c 70 20 74 65 78 74 2e 0a 20 |ome help text.. | 00000270 20 20 20 2f 4d 20 20 20 20 20 20 20 20 20 20 20 | /M | 00000280 20 20 20 2d 20 45 6e 61 62 6c 65 20 6d 75 6c 74 | - Enable mult| 00000290 69 74 61 73 6b 69 6e 67 20 64 75 72 69 6e 67 20 |itasking during | 000002a0 63 6f 70 79 69 6e 67 2e 0a 20 20 20 20 2f 50 20 |copying.. /P | 000002b0 20 20 20 20 20 20 20 20 20 20 20 20 20 2d 20 50 | - P| 000002c0 72 6f 6d 70 74 73 20 62 65 66 6f 72 65 20 63 6f |rompts before co| 000002d0 70 79 69 6e 67 20 65 61 63 68 20 66 69 6c 65 2e |pying each file.| 000002e0 0a 20 20 20 20 2f 53 20 20 20 20 20 20 20 20 20 |. /S | 000002f0 20 20 20 20 20 2d 20 43 6f 70 79 20 73 75 62 64 | - Copy subd| 00000300 69 72 65 63 74 6f 72 69 65 73 2e 0a 20 20 20 20 |irectories.. | 00000310 3c 52 49 53 43 20 4f 53 20 66 69 6c 65 3e 20 20 |<RISC OS file> | 00000320 2d 20 57 69 6c 64 63 61 72 64 65 64 20 73 6f 75 |- Wildcarded sou| 00000330 72 63 65 20 52 49 53 43 20 4f 53 20 66 69 6c 65 |rce RISC OS file| 00000340 20 73 70 65 63 69 66 69 63 61 74 69 6f 6e 20 74 | specification t| 00000350 6f 20 63 6f 70 79 2e 0a 20 20 20 20 3c 44 4f 53 |o copy.. <DOS| 00000360 20 66 69 6c 65 3e 20 20 20 20 20 20 2d 20 54 68 | file> - Th| 00000370 65 20 64 65 73 74 69 6e 61 74 69 6f 6e 20 44 4f |e destination DO| 00000380 53 20 70 61 74 68 2e 0a 0a 54 68 65 20 73 6f 75 |S path...The sou| 00000390 72 63 65 20 70 61 74 68 20 6d 61 79 20 69 6e 63 |rce path may inc| 000003a0 6c 75 64 65 20 73 74 61 6e 64 61 72 64 20 52 49 |lude standard RI| 000003b0 53 43 20 4f 53 20 77 69 6c 64 63 61 72 64 73 2c |SC OS wildcards,| 000003c0 20 69 2e 65 2e 20 22 23 22 20 74 6f 20 6d 61 74 | i.e. "#" to mat| 000003d0 63 68 20 61 0a 73 69 6e 67 6c 65 20 63 68 61 72 |ch a.single char| 000003e0 61 63 74 65 72 20 6f 72 20 22 2a 22 20 66 6f 72 |acter or "*" for| 000003f0 20 6d 75 6c 74 69 70 6c 65 20 63 68 61 72 61 63 | multiple charac| 00000400 74 65 72 73 2e 20 46 69 6c 65 73 20 61 72 65 20 |ters. Files are | 00000410 6d 61 74 63 68 65 64 20 75 73 69 6e 67 20 74 68 |matched using th| 00000420 65 0a 73 61 6d 65 20 72 75 6c 65 73 20 61 73 20 |e.same rules as | 00000430 75 73 65 64 20 62 79 20 52 49 53 43 20 4f 53 20 |used by RISC OS | 00000440 63 6f 6d 6d 61 6e 64 73 2e 0a 0a 49 66 20 6e 6f |commands...If no| 00000450 20 64 65 73 74 69 6e 61 74 69 6f 6e 20 66 69 6c | destination fil| 00000460 65 6e 61 6d 65 20 69 73 20 73 70 65 63 69 66 69 |ename is specifi| 00000470 65 64 20 74 68 65 6e 20 74 68 65 20 73 6f 75 72 |ed then the sour| 00000480 63 65 20 66 69 6c 65 6e 61 6d 65 20 69 73 20 75 |ce filename is u| 00000490 73 65 64 20 77 69 74 68 0a 76 61 72 69 6f 75 73 |sed with.various| 000004a0 20 63 68 61 72 61 63 74 65 72 20 74 72 61 6e 73 | character trans| 000004b0 66 6f 72 6d 61 74 69 6f 6e 73 20 70 65 72 66 6f |formations perfo| 000004c0 72 6d 65 64 2e 0a 0a 0a 54 48 49 4e 47 53 20 54 |rmed....THINGS T| 000004d0 4f 20 44 4f 0a 0a 54 68 65 20 66 6f 6c 6c 6f 77 |O DO..The follow| 000004e0 69 6e 67 20 61 72 65 20 63 68 61 6e 67 65 73 20 |ing are changes | 000004f0 74 68 61 74 20 6d 61 79 20 62 65 20 6d 61 64 65 |that may be made| 00000500 20 74 6f 20 74 68 65 20 47 45 54 46 49 4c 45 20 | to the GETFILE | 00000510 63 6f 6d 6d 61 6e 64 20 73 6f 6d 65 74 69 6d 65 |command sometime| 00000520 20 69 6e 0a 74 68 65 20 66 75 74 75 72 65 2e 0a | in.the future..| 00000530 0a 20 20 20 20 4e 6f 6e 65 20 61 74 20 74 68 65 |. None at the| 00000540 20 6d 6f 6d 65 6e 74 21 0a 0a 0a 56 45 52 53 49 | moment!...VERSI| 00000550 4f 4e 20 48 49 53 54 4f 52 59 0a 0a 30 2e 30 30 |ON HISTORY..0.00| 00000560 20 28 31 32 2d 4e 6f 76 2d 39 35 29 20 20 20 20 | (12-Nov-95) | 00000570 4f 72 69 67 69 6e 61 6c 20 64 65 76 65 6c 6f 70 |Original develop| 00000580 6d 65 6e 74 20 76 65 72 73 69 6f 6e 2e 0a 0a 30 |ment version...0| 00000590 2e 30 31 20 28 31 34 2d 4e 6f 76 2d 39 35 29 20 |.01 (14-Nov-95) | 000005a0 20 20 20 41 64 64 65 64 20 76 65 72 73 69 6f 6e | Added version| 000005b0 20 6e 75 6d 62 65 72 20 61 6e 64 20 63 6f 70 79 | number and copy| 000005c0 72 69 67 68 74 20 6d 65 73 73 61 67 65 2e 0a 0a |right message...| 000005d0 30 2e 30 32 20 28 31 37 2d 4e 6f 76 2d 39 35 29 |0.02 (17-Nov-95)| 000005e0 20 20 20 20 55 73 65 73 20 63 6f 72 72 65 63 74 | Uses correct| 000005f0 20 48 50 43 20 73 65 72 76 69 63 65 20 69 64 65 | HPC service ide| 00000600 6e 74 69 66 69 65 72 2e 0a 20 20 20 20 20 20 20 |ntifier.. | 00000610 20 20 20 20 20 20 20 20 20 20 20 20 20 43 68 61 | Cha| 00000620 6e 67 65 64 20 74 6f 20 61 20 2e 43 4f 4d 20 66 |nged to a .COM f| 00000630 69 6c 65 20 74 6f 20 6d 61 6b 65 20 69 74 20 73 |ile to make it s| 00000640 6d 61 6c 6c 65 72 2e 0a 20 20 20 20 20 20 20 20 |maller.. | 00000650 20 20 20 20 20 20 20 20 20 20 20 20 4d 61 64 65 | Made| 00000660 20 65 72 72 6f 72 20 63 68 65 63 6b 69 6e 67 20 | error checking | 00000670 6d 6f 72 65 20 63 6f 6d 70 72 65 68 65 6e 73 69 |more comprehensi| 00000680 76 65 20 61 6e 64 20 61 64 64 65 64 20 68 65 6c |ve and added hel| 00000690 70 20 74 65 78 74 2e 0a 0a 30 2e 30 34 20 28 31 |p text...0.04 (1| 000006a0 36 2d 44 65 63 2d 39 35 29 20 20 20 20 55 73 65 |6-Dec-95) Use| 000006b0 73 20 72 65 61 6c 20 48 50 43 2e 0a 0a 30 2e 30 |s real HPC...0.0| 000006c0 35 20 28 31 37 2d 44 65 63 2d 39 35 29 20 20 20 |5 (17-Dec-95) | 000006d0 20 49 6d 70 72 6f 76 65 64 20 66 69 6c 65 6e 61 | Improved filena| 000006e0 6d 65 20 74 72 61 6e 73 6c 61 74 69 6f 6e 2e 0a |me translation..| 000006f0 0a 31 2e 30 30 20 28 31 32 2d 4a 61 6e 2d 39 36 |.1.00 (12-Jan-96| 00000700 29 20 20 20 20 46 69 72 73 74 20 6f 66 66 69 63 |) First offic| 00000710 69 61 6c 20 72 65 6c 65 61 73 65 20 76 65 72 73 |ial release vers| 00000720 69 6f 6e 2e 0a 0a 31 2e 30 31 20 28 31 31 2d 4d |ion...1.01 (11-M| 00000730 61 72 2d 39 36 29 20 20 20 20 56 65 72 73 69 6f |ar-96) Versio| 00000740 6e 20 6e 75 6d 62 65 72 20 75 70 64 61 74 65 64 |n number updated| 00000750 20 74 6f 20 6d 61 74 63 68 20 74 68 65 20 6d 6f | to match the mo| 00000760 64 75 6c 65 2e 0a 0a 31 2e 30 32 20 28 30 36 2d |dule...1.02 (06-| 00000770 41 75 67 2d 39 36 29 20 20 20 20 44 61 74 65 20 |Aug-96) Date | 00000780 61 6e 64 20 74 69 6d 65 20 73 74 61 6d 70 73 20 |and time stamps | 00000790 61 72 65 20 70 72 65 73 65 72 76 65 64 20 6f 6e |are preserved on| 000007a0 20 63 6f 70 69 65 64 20 66 69 6c 65 73 2e 0a 20 | copied files.. | 000007b0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 000007c0 20 20 20 53 75 70 70 6f 72 74 20 66 6f 72 20 41 | Support for A| 000007d0 63 6f 72 6e 27 73 20 73 6f 66 74 77 61 72 65 20 |corn's software | 000007e0 50 43 20 65 6d 75 6c 61 74 6f 72 20 69 6e 63 6c |PC emulator incl| 000007f0 75 64 65 64 2e 0a 0a 31 2e 30 33 20 28 32 31 2d |uded...1.03 (21-| 00000800 46 65 62 2d 39 37 29 20 20 20 20 53 70 65 65 64 |Feb-97) Speed| 00000810 65 64 20 75 70 20 74 72 61 6e 73 66 65 72 20 77 |ed up transfer w| 00000820 68 65 6e 20 6d 75 6c 74 69 74 61 73 6b 69 6e 67 |hen multitasking| 00000830 2e 0a 20 20 20 20 20 20 20 20 20 20 20 20 20 20 |.. | 00000840 20 20 20 20 20 20 49 6e 63 6c 75 64 65 64 20 73 | Included s| 00000850 75 70 70 6f 72 74 20 66 6f 72 20 77 69 6c 64 63 |upport for wildc| 00000860 61 72 64 73 20 61 6e 64 20 72 65 63 75 72 73 69 |ards and recursi| 00000870 6f 6e 2e 0a 0a 31 2e 30 34 20 28 30 37 2d 44 65 |on...1.04 (07-De| 00000880 63 2d 39 37 29 20 20 20 20 56 65 72 73 69 6f 6e |c-97) Version| 00000890 20 6e 75 6d 62 65 72 20 75 70 64 61 74 65 64 20 | number updated | 000008a0 74 6f 20 6d 61 74 63 68 20 74 68 65 20 6d 6f 64 |to match the mod| 000008b0 75 6c 65 2e |ule.| 000008b4