examples:
PIP B:=A:*.COM
PIP SAV.BAS=EX1.BAS PIP CON:=EX1.BAS
PIP LST:=EX1.BAS
PIP TYPEIN.TXT=CON:
copy all .COM files from drive A: to drive B: make a copy of EX1.BAS, calling it SAV.BAS
send file EX1.BAS to screen. (Similar effect to TYPE EX1.BAS)
send file EX1.BAS to printer
accept keyboard input and put into a file called TYPEIN.TXT. Note that this operation is terminated by the [CTRL]Z control code, and that in order to get
a newline you must type [CTRL]J after [ENTER] every time. [CTRL]J is the ASCII for linefeed.
Note that PIP cannot be used to copy files from one disc to another on a single drive system. Use FILECOPY instead.
3.7.2 File and disc copying
3.7.2.1 Single file copying
The utility FILECOPY allows you to copy files from one disc to another on a single drive system. It copes with the disc changing and gives full instructions on the screen. If a
FILECOPY | *.BAS | Copy all the files of type .BAS |
FILECOPY | EX1.BAS | Copy the file EX1.BAS |
3.7.2.2 Whole disc copiers and checkers
DISCCOPY (for single drive systems) and COPYDISC (for two drive systems) allow you to make a backup copy of the entire disc. They give full instructions on the screen. If the Destination disc is not formatted, or not of the same format as the source disc then these utilities will automatically format the disc correctly as they copy. The companion utilities DISCCHK and CHKDISC allow you to compare two discs and verify that they have exactly the same contents.
3.7.2.3 Cassette files.
Two utilities are available which transfer files between tape and disc. Except for specialist use, it is unlikely that anything other than ASCII, ie plain text, files can usefully be transferred.
Chapter 3.5 | AMSTRAD Disc Drive & Interface |