ERA PIP.COM ERA B:PIP.COM ERA *.BAS

will erase the file PIP.COM

will erase the file PIP.COM on drive B will erase all .BAS files

3.6.5 REN command

REN allows you to REName an existing file. The new filename is specified first followed by = then the existing filename. If the new filename already exists, an error message will be displayed. Wild cards are not permitted in the filenames.

REN

HELLO.BAS=HALLO.BAS

Change the name of a file from

REN

B:HELLO.BAS=HALLO.BAS

HALLO.BAS to HELLO. BAS

3.6.6 TYPE command

TYPE asks for the specified file to be TYPEd onto the screen. If the file is not an ASCII text file, unpredictable and possibly undesirable side-effects may occur.

TYPE EX1.BAS Display the program file EX1.BAS

3.7 Transient commands.

To perform more sophisticated file management than permitted by the Direct Console Mode you must employ one of the various utility programs provided. These are invoked merely by typing the program name; possibly followed by some parameters. You will probably already have used FORMAT and DISCCOPY.

The commands fall into a number of categories as indicated below. Full documentation of these programs is extensive and is contained in A Guide to CP/M (SOFT 159).

The SYSGEN, BOOTGEN, FILECOPY, COPYDISC, DISCCOPY, CHKDISC, DISCCHK, FORMAT, SETUP, CSAVE, CLOAD and AMSDOS commands are designed

by AMSTRAD and work exclusively on the CPC464. They have no function on any other CP/M system, although other manufacturers may supply similar utilities (often with the same name) customised for their hardware.

3.7.1 Peripheral Management

The PIP utility, (Peripheral Interchange Program), allows you to transfer information between the computer and its peripherals. In general the form of the command is PIP <destination> = <source> .

The <source> and <destination> can be either a filename, with wild-cards allowed in the source, or a device token. The following device tokens may be used:

As Source

As Destination

 

CON: keyboard

CON: screen

 

RDR: serial interface

PUN: serial interface

 

 

LST: printer

 

AMSTRAD Disc Drive & Interface DDI-1 Manual

Chapter 3.4

Page 52
Image 52
Amstrad DDI-1 manual Transient commands, REN command, Type command, Peripheral Management