Rename Or Ren Command; Type Or Typ Command; User Or Use Command - AMSTRAD cpc 6128 User Instruction

Integrated computer/disc system
Hide thumbs Also See for cpc 6128:
Table of Contents

Advertisement

will erase the file
PIP.
C 0 M
ERA PIP.COM
ERA B:PIP.COM
ERA *.BAS
will erase the file
PIP.
CO M on Drive B
will erase all • B A S files
RENAME or REN command
RE N allows you to REName an existing file. The new filename is specified first,
followed by
=
then the existing filename.lfthe new file name already exists, an error
message will be displayed.
Wild cards in the filenames are outside the scope of RE N as a built-in command, and
require R E N A ME. C 0 M, the transient program.
RE N NEW N A ME. BA S
=
0
L
DNA ME. BA S
will rename the file 0 L DNA ME. BA S
toNEWNAME.BAS
R E NB: NEW N A ME. BA S
=
0 L
DNA ME. BA S
will rename the file 0 L DNA ME. BA S
to N EWNAM E. BAS,onDriveB.
TYPE or TYP command
T Y P E asks for the specified file to be T Y P Ed onto the screen. If the file is not an
ASCII
text file, unpredictable and possibly undesirable side-effects may occur.
TYPE KEYS. CCP
.... will display the file KEY S • C C
P
USER or USE command
USE R changes the current user number. CPIM Plus starts with the current user
number set to O. Normally you can only access files identified with the current user
number, thus providing a way of partitioning-off the directory.
A file in User 0, with the'S Y S' attribute set can be accessed from all other user
numbers. This is a very powerful facility for making utility and applications
programs available
to
all user numbers, without having an actual copy of them in
each user area.
USER 3
.... will set the current user number to 3.
Chapter 5 Page 22
AMSDOS and CPIM

Advertisement

Table of Contents
loading

Table of Contents